erlang.mk 227 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082
  1. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  10. # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  12. # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  13. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. .PHONY: all app apps deps search rel relup docs install-docs check tests clean distclean help erlang-mk
  15. ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
  16. export ERLANG_MK_FILENAME
  17. ERLANG_MK_VERSION = 2017.08.28-19-g8e3d863
  18. ERLANG_MK_WITHOUT =
  19. # Make 3.81 and 3.82 are deprecated.
  20. ifeq ($(MAKE_VERSION),3.81)
  21. $(warning Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html)
  22. endif
  23. ifeq ($(MAKE_VERSION),3.82)
  24. $(warning Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html)
  25. endif
  26. # Core configuration.
  27. PROJECT ?= $(notdir $(CURDIR))
  28. PROJECT := $(strip $(PROJECT))
  29. PROJECT_VERSION ?= rolling
  30. PROJECT_MOD ?= $(PROJECT)_app
  31. PROJECT_ENV ?= []
  32. # Verbosity.
  33. V ?= 0
  34. verbose_0 = @
  35. verbose_2 = set -x;
  36. verbose = $(verbose_$(V))
  37. gen_verbose_0 = @echo " GEN " $@;
  38. gen_verbose_2 = set -x;
  39. gen_verbose = $(gen_verbose_$(V))
  40. # Temporary files directory.
  41. ERLANG_MK_TMP ?= $(CURDIR)/.erlang.mk
  42. export ERLANG_MK_TMP
  43. # "erl" command.
  44. ERL = erl +A0 -noinput -boot start_clean
  45. # Platform detection.
  46. ifeq ($(PLATFORM),)
  47. UNAME_S := $(shell uname -s)
  48. ifeq ($(UNAME_S),Linux)
  49. PLATFORM = linux
  50. else ifeq ($(UNAME_S),Darwin)
  51. PLATFORM = darwin
  52. else ifeq ($(UNAME_S),SunOS)
  53. PLATFORM = solaris
  54. else ifeq ($(UNAME_S),GNU)
  55. PLATFORM = gnu
  56. else ifeq ($(UNAME_S),FreeBSD)
  57. PLATFORM = freebsd
  58. else ifeq ($(UNAME_S),NetBSD)
  59. PLATFORM = netbsd
  60. else ifeq ($(UNAME_S),OpenBSD)
  61. PLATFORM = openbsd
  62. else ifeq ($(UNAME_S),DragonFly)
  63. PLATFORM = dragonfly
  64. else ifeq ($(shell uname -o),Msys)
  65. PLATFORM = msys2
  66. else
  67. $(error Unable to detect platform. Please open a ticket with the output of uname -a.)
  68. endif
  69. export PLATFORM
  70. endif
  71. # Core targets.
  72. all:: deps app rel
  73. # Noop to avoid a Make warning when there's nothing to do.
  74. rel::
  75. $(verbose) :
  76. relup:: deps app
  77. check:: tests
  78. clean:: clean-crashdump
  79. clean-crashdump:
  80. ifneq ($(wildcard erl_crash.dump),)
  81. $(gen_verbose) rm -f erl_crash.dump
  82. endif
  83. distclean:: clean distclean-tmp
  84. distclean-tmp:
  85. $(gen_verbose) rm -rf $(ERLANG_MK_TMP)
  86. help::
  87. $(verbose) printf "%s\n" \
  88. "erlang.mk (version $(ERLANG_MK_VERSION)) is distributed under the terms of the ISC License." \
  89. "Copyright (c) 2013-2016 Loïc Hoguin <essen@ninenines.eu>" \
  90. "" \
  91. "Usage: [V=1] $(MAKE) [target]..." \
  92. "" \
  93. "Core targets:" \
  94. " all Run deps, app and rel targets in that order" \
  95. " app Compile the project" \
  96. " deps Fetch dependencies (if needed) and compile them" \
  97. " fetch-deps Fetch dependencies recursively (if needed) without compiling them" \
  98. " list-deps List dependencies recursively on stdout" \
  99. " search q=... Search for a package in the built-in index" \
  100. " rel Build a release for this project, if applicable" \
  101. " docs Build the documentation for this project" \
  102. " install-docs Install the man pages for this project" \
  103. " check Compile and run all tests and analysis for this project" \
  104. " tests Run the tests for this project" \
  105. " clean Delete temporary and output files from most targets" \
  106. " distclean Delete all temporary and output files" \
  107. " help Display this help and exit" \
  108. " erlang-mk Update erlang.mk to the latest version"
  109. # Core functions.
  110. empty :=
  111. space := $(empty) $(empty)
  112. tab := $(empty) $(empty)
  113. comma := ,
  114. define newline
  115. endef
  116. define comma_list
  117. $(subst $(space),$(comma),$(strip $(1)))
  118. endef
  119. # Adding erlang.mk to make Erlang scripts who call init:get_plain_arguments() happy.
  120. define erlang
  121. $(ERL) $(2) -pz $(ERLANG_MK_TMP)/rebar/ebin -eval "$(subst $(newline),,$(subst ",\",$(1)))" -- erlang.mk
  122. endef
  123. ifeq ($(PLATFORM),msys2)
  124. core_native_path = $(subst \,\\\\,$(shell cygpath -w $1))
  125. else
  126. core_native_path = $1
  127. endif
  128. core_http_get = curl -Lf$(if $(filter-out 0,$(V)),,s)o $(call core_native_path,$1) $2
  129. core_eq = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1)))
  130. core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) -type f -name $(subst *,\*,$2)))
  131. core_lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$(1)))))))))))))))))))))))))))
  132. core_ls = $(filter-out $(1),$(shell echo $(1)))
  133. # @todo Use a solution that does not require using perl.
  134. core_relpath = $(shell perl -e 'use File::Spec; print File::Spec->abs2rel(@ARGV) . "\n"' $1 $2)
  135. # Automated update.
  136. ERLANG_MK_REPO ?= https://github.com/ninenines/erlang.mk
  137. ERLANG_MK_COMMIT ?=
  138. ERLANG_MK_BUILD_CONFIG ?= build.config
  139. ERLANG_MK_BUILD_DIR ?= .erlang.mk.build
  140. erlang-mk: WITHOUT ?= $(ERLANG_MK_WITHOUT)
  141. erlang-mk:
  142. git clone $(ERLANG_MK_REPO) $(ERLANG_MK_BUILD_DIR)
  143. ifdef ERLANG_MK_COMMIT
  144. cd $(ERLANG_MK_BUILD_DIR) && git checkout $(ERLANG_MK_COMMIT)
  145. endif
  146. if [ -f $(ERLANG_MK_BUILD_CONFIG) ]; then cp $(ERLANG_MK_BUILD_CONFIG) $(ERLANG_MK_BUILD_DIR)/build.config; fi
  147. $(MAKE) -C $(ERLANG_MK_BUILD_DIR) WITHOUT='$(strip $(WITHOUT))'
  148. cp $(ERLANG_MK_BUILD_DIR)/erlang.mk ./erlang.mk
  149. rm -rf $(ERLANG_MK_BUILD_DIR)
  150. # The erlang.mk package index is bundled in the default erlang.mk build.
  151. # Search for the string "copyright" to skip to the rest of the code.
  152. # Copyright (c) 2015-2017, Loïc Hoguin <essen@ninenines.eu>
  153. # This file is part of erlang.mk and subject to the terms of the ISC License.
  154. .PHONY: distclean-kerl
  155. KERL_INSTALL_DIR ?= $(HOME)/erlang
  156. ifeq ($(strip $(KERL)),)
  157. KERL := $(ERLANG_MK_TMP)/kerl/kerl
  158. endif
  159. export KERL
  160. KERL_GIT ?= https://github.com/kerl/kerl
  161. KERL_COMMIT ?= master
  162. KERL_MAKEFLAGS ?=
  163. OTP_GIT ?= https://github.com/erlang/otp
  164. define kerl_otp_target
  165. ifeq ($(wildcard $(KERL_INSTALL_DIR)/$(1)),)
  166. $(KERL_INSTALL_DIR)/$(1): $(KERL)
  167. MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $(1) $(1)
  168. $(KERL) install $(1) $(KERL_INSTALL_DIR)/$(1)
  169. endif
  170. endef
  171. define kerl_hipe_target
  172. ifeq ($(wildcard $(KERL_INSTALL_DIR)/$1-native),)
  173. $(KERL_INSTALL_DIR)/$1-native: $(KERL)
  174. KERL_CONFIGURE_OPTIONS=--enable-native-libs \
  175. MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $1 $1-native
  176. $(KERL) install $1-native $(KERL_INSTALL_DIR)/$1-native
  177. endif
  178. endef
  179. $(KERL):
  180. $(verbose) mkdir -p $(ERLANG_MK_TMP)
  181. $(gen_verbose) git clone --depth 1 $(KERL_GIT) $(ERLANG_MK_TMP)/kerl
  182. $(verbose) cd $(ERLANG_MK_TMP)/kerl && git checkout $(KERL_COMMIT)
  183. $(verbose) chmod +x $(KERL)
  184. distclean:: distclean-kerl
  185. distclean-kerl:
  186. $(gen_verbose) rm -rf $(KERL)
  187. # Allow users to select which version of Erlang/OTP to use for a project.
  188. ERLANG_OTP ?=
  189. ERLANG_HIPE ?=
  190. # Use kerl to enforce a specific Erlang/OTP version for a project.
  191. ifneq ($(strip $(ERLANG_OTP)),)
  192. export PATH := $(KERL_INSTALL_DIR)/$(ERLANG_OTP)/bin:$(PATH)
  193. SHELL := env PATH=$(PATH) $(SHELL)
  194. $(eval $(call kerl_otp_target,$(ERLANG_OTP)))
  195. # Build Erlang/OTP only if it doesn't already exist.
  196. ifeq ($(wildcard $(KERL_INSTALL_DIR)/$(ERLANG_OTP))$(BUILD_ERLANG_OTP),)
  197. $(info Building Erlang/OTP $(ERLANG_OTP)... Please wait...)
  198. $(shell $(MAKE) $(KERL_INSTALL_DIR)/$(ERLANG_OTP) ERLANG_OTP=$(ERLANG_OTP) BUILD_ERLANG_OTP=1 >&2)
  199. endif
  200. else
  201. # Same for a HiPE enabled VM.
  202. ifneq ($(strip $(ERLANG_HIPE)),)
  203. export PATH := $(KERL_INSTALL_DIR)/$(ERLANG_HIPE)-native/bin:$(PATH)
  204. SHELL := env PATH=$(PATH) $(SHELL)
  205. $(eval $(call kerl_hipe_target,$(ERLANG_HIPE)))
  206. # Build Erlang/OTP only if it doesn't already exist.
  207. ifeq ($(wildcard $(KERL_INSTALL_DIR)/$(ERLANG_HIPE))$(BUILD_ERLANG_OTP),)
  208. $(info Building HiPE-enabled Erlang/OTP $(ERLANG_OTP)... Please wait...)
  209. $(shell $(MAKE) $(KERL_INSTALL_DIR)/$(ERLANG_HIPE) ERLANG_HIPE=$(ERLANG_HIPE) BUILD_ERLANG_OTP=1 >&2)
  210. endif
  211. endif
  212. endif
  213. PACKAGES += aberth
  214. pkg_aberth_name = aberth
  215. pkg_aberth_description = Generic BERT-RPC server in Erlang
  216. pkg_aberth_homepage = https://github.com/a13x/aberth
  217. pkg_aberth_fetch = git
  218. pkg_aberth_repo = https://github.com/a13x/aberth
  219. pkg_aberth_commit = master
  220. PACKAGES += active
  221. pkg_active_name = active
  222. pkg_active_description = Active development for Erlang: rebuild and reload source/binary files while the VM is running
  223. pkg_active_homepage = https://github.com/proger/active
  224. pkg_active_fetch = git
  225. pkg_active_repo = https://github.com/proger/active
  226. pkg_active_commit = master
  227. PACKAGES += actordb_core
  228. pkg_actordb_core_name = actordb_core
  229. pkg_actordb_core_description = ActorDB main source
  230. pkg_actordb_core_homepage = http://www.actordb.com/
  231. pkg_actordb_core_fetch = git
  232. pkg_actordb_core_repo = https://github.com/biokoda/actordb_core
  233. pkg_actordb_core_commit = master
  234. PACKAGES += actordb_thrift
  235. pkg_actordb_thrift_name = actordb_thrift
  236. pkg_actordb_thrift_description = Thrift API for ActorDB
  237. pkg_actordb_thrift_homepage = http://www.actordb.com/
  238. pkg_actordb_thrift_fetch = git
  239. pkg_actordb_thrift_repo = https://github.com/biokoda/actordb_thrift
  240. pkg_actordb_thrift_commit = master
  241. PACKAGES += aleppo
  242. pkg_aleppo_name = aleppo
  243. pkg_aleppo_description = Alternative Erlang Pre-Processor
  244. pkg_aleppo_homepage = https://github.com/ErlyORM/aleppo
  245. pkg_aleppo_fetch = git
  246. pkg_aleppo_repo = https://github.com/ErlyORM/aleppo
  247. pkg_aleppo_commit = master
  248. PACKAGES += alog
  249. pkg_alog_name = alog
  250. pkg_alog_description = Simply the best logging framework for Erlang
  251. pkg_alog_homepage = https://github.com/siberian-fast-food/alogger
  252. pkg_alog_fetch = git
  253. pkg_alog_repo = https://github.com/siberian-fast-food/alogger
  254. pkg_alog_commit = master
  255. PACKAGES += amqp_client
  256. pkg_amqp_client_name = amqp_client
  257. pkg_amqp_client_description = RabbitMQ Erlang AMQP client
  258. pkg_amqp_client_homepage = https://www.rabbitmq.com/erlang-client-user-guide.html
  259. pkg_amqp_client_fetch = git
  260. pkg_amqp_client_repo = https://github.com/rabbitmq/rabbitmq-erlang-client.git
  261. pkg_amqp_client_commit = master
  262. PACKAGES += annotations
  263. pkg_annotations_name = annotations
  264. pkg_annotations_description = Simple code instrumentation utilities
  265. pkg_annotations_homepage = https://github.com/hyperthunk/annotations
  266. pkg_annotations_fetch = git
  267. pkg_annotations_repo = https://github.com/hyperthunk/annotations
  268. pkg_annotations_commit = master
  269. PACKAGES += antidote
  270. pkg_antidote_name = antidote
  271. pkg_antidote_description = Large-scale computation without synchronisation
  272. pkg_antidote_homepage = https://syncfree.lip6.fr/
  273. pkg_antidote_fetch = git
  274. pkg_antidote_repo = https://github.com/SyncFree/antidote
  275. pkg_antidote_commit = master
  276. PACKAGES += apns
  277. pkg_apns_name = apns
  278. pkg_apns_description = Apple Push Notification Server for Erlang
  279. pkg_apns_homepage = http://inaka.github.com/apns4erl
  280. pkg_apns_fetch = git
  281. pkg_apns_repo = https://github.com/inaka/apns4erl
  282. pkg_apns_commit = master
  283. PACKAGES += asciideck
  284. pkg_asciideck_name = asciideck
  285. pkg_asciideck_description = Asciidoc for Erlang.
  286. pkg_asciideck_homepage = https://ninenines.eu
  287. pkg_asciideck_fetch = git
  288. pkg_asciideck_repo = https://github.com/ninenines/asciideck
  289. pkg_asciideck_commit = master
  290. PACKAGES += azdht
  291. pkg_azdht_name = azdht
  292. pkg_azdht_description = Azureus Distributed Hash Table (DHT) in Erlang
  293. pkg_azdht_homepage = https://github.com/arcusfelis/azdht
  294. pkg_azdht_fetch = git
  295. pkg_azdht_repo = https://github.com/arcusfelis/azdht
  296. pkg_azdht_commit = master
  297. PACKAGES += backoff
  298. pkg_backoff_name = backoff
  299. pkg_backoff_description = Simple exponential backoffs in Erlang
  300. pkg_backoff_homepage = https://github.com/ferd/backoff
  301. pkg_backoff_fetch = git
  302. pkg_backoff_repo = https://github.com/ferd/backoff
  303. pkg_backoff_commit = master
  304. PACKAGES += barrel_tcp
  305. pkg_barrel_tcp_name = barrel_tcp
  306. pkg_barrel_tcp_description = barrel is a generic TCP acceptor pool with low latency in Erlang.
  307. pkg_barrel_tcp_homepage = https://github.com/benoitc-attic/barrel_tcp
  308. pkg_barrel_tcp_fetch = git
  309. pkg_barrel_tcp_repo = https://github.com/benoitc-attic/barrel_tcp
  310. pkg_barrel_tcp_commit = master
  311. PACKAGES += basho_bench
  312. pkg_basho_bench_name = basho_bench
  313. pkg_basho_bench_description = A load-generation and testing tool for basically whatever you can write a returning Erlang function for.
  314. pkg_basho_bench_homepage = https://github.com/basho/basho_bench
  315. pkg_basho_bench_fetch = git
  316. pkg_basho_bench_repo = https://github.com/basho/basho_bench
  317. pkg_basho_bench_commit = master
  318. PACKAGES += bcrypt
  319. pkg_bcrypt_name = bcrypt
  320. pkg_bcrypt_description = Bcrypt Erlang / C library
  321. pkg_bcrypt_homepage = https://github.com/riverrun/branglecrypt
  322. pkg_bcrypt_fetch = git
  323. pkg_bcrypt_repo = https://github.com/riverrun/branglecrypt
  324. pkg_bcrypt_commit = master
  325. PACKAGES += beam
  326. pkg_beam_name = beam
  327. pkg_beam_description = BEAM emulator written in Erlang
  328. pkg_beam_homepage = https://github.com/tonyrog/beam
  329. pkg_beam_fetch = git
  330. pkg_beam_repo = https://github.com/tonyrog/beam
  331. pkg_beam_commit = master
  332. PACKAGES += beanstalk
  333. pkg_beanstalk_name = beanstalk
  334. pkg_beanstalk_description = An Erlang client for beanstalkd
  335. pkg_beanstalk_homepage = https://github.com/tim/erlang-beanstalk
  336. pkg_beanstalk_fetch = git
  337. pkg_beanstalk_repo = https://github.com/tim/erlang-beanstalk
  338. pkg_beanstalk_commit = master
  339. PACKAGES += bear
  340. pkg_bear_name = bear
  341. pkg_bear_description = a set of statistics functions for erlang
  342. pkg_bear_homepage = https://github.com/boundary/bear
  343. pkg_bear_fetch = git
  344. pkg_bear_repo = https://github.com/boundary/bear
  345. pkg_bear_commit = master
  346. PACKAGES += bertconf
  347. pkg_bertconf_name = bertconf
  348. pkg_bertconf_description = Make ETS tables out of statc BERT files that are auto-reloaded
  349. pkg_bertconf_homepage = https://github.com/ferd/bertconf
  350. pkg_bertconf_fetch = git
  351. pkg_bertconf_repo = https://github.com/ferd/bertconf
  352. pkg_bertconf_commit = master
  353. PACKAGES += bifrost
  354. pkg_bifrost_name = bifrost
  355. pkg_bifrost_description = Erlang FTP Server Framework
  356. pkg_bifrost_homepage = https://github.com/thorstadt/bifrost
  357. pkg_bifrost_fetch = git
  358. pkg_bifrost_repo = https://github.com/thorstadt/bifrost
  359. pkg_bifrost_commit = master
  360. PACKAGES += binpp
  361. pkg_binpp_name = binpp
  362. pkg_binpp_description = Erlang Binary Pretty Printer
  363. pkg_binpp_homepage = https://github.com/jtendo/binpp
  364. pkg_binpp_fetch = git
  365. pkg_binpp_repo = https://github.com/jtendo/binpp
  366. pkg_binpp_commit = master
  367. PACKAGES += bisect
  368. pkg_bisect_name = bisect
  369. pkg_bisect_description = Ordered fixed-size binary dictionary in Erlang
  370. pkg_bisect_homepage = https://github.com/knutin/bisect
  371. pkg_bisect_fetch = git
  372. pkg_bisect_repo = https://github.com/knutin/bisect
  373. pkg_bisect_commit = master
  374. PACKAGES += bitcask
  375. pkg_bitcask_name = bitcask
  376. pkg_bitcask_description = because you need another a key/value storage engine
  377. pkg_bitcask_homepage = https://github.com/basho/bitcask
  378. pkg_bitcask_fetch = git
  379. pkg_bitcask_repo = https://github.com/basho/bitcask
  380. pkg_bitcask_commit = develop
  381. PACKAGES += bitstore
  382. pkg_bitstore_name = bitstore
  383. pkg_bitstore_description = A document based ontology development environment
  384. pkg_bitstore_homepage = https://github.com/bdionne/bitstore
  385. pkg_bitstore_fetch = git
  386. pkg_bitstore_repo = https://github.com/bdionne/bitstore
  387. pkg_bitstore_commit = master
  388. PACKAGES += bootstrap
  389. pkg_bootstrap_name = bootstrap
  390. pkg_bootstrap_description = A simple, yet powerful Erlang cluster bootstrapping application.
  391. pkg_bootstrap_homepage = https://github.com/schlagert/bootstrap
  392. pkg_bootstrap_fetch = git
  393. pkg_bootstrap_repo = https://github.com/schlagert/bootstrap
  394. pkg_bootstrap_commit = master
  395. PACKAGES += boss
  396. pkg_boss_name = boss
  397. pkg_boss_description = Erlang web MVC, now featuring Comet
  398. pkg_boss_homepage = https://github.com/ChicagoBoss/ChicagoBoss
  399. pkg_boss_fetch = git
  400. pkg_boss_repo = https://github.com/ChicagoBoss/ChicagoBoss
  401. pkg_boss_commit = master
  402. PACKAGES += boss_db
  403. pkg_boss_db_name = boss_db
  404. pkg_boss_db_description = BossDB: a sharded, caching, pooling, evented ORM for Erlang
  405. pkg_boss_db_homepage = https://github.com/ErlyORM/boss_db
  406. pkg_boss_db_fetch = git
  407. pkg_boss_db_repo = https://github.com/ErlyORM/boss_db
  408. pkg_boss_db_commit = master
  409. PACKAGES += brod
  410. pkg_brod_name = brod
  411. pkg_brod_description = Kafka client in Erlang
  412. pkg_brod_homepage = https://github.com/klarna/brod
  413. pkg_brod_fetch = git
  414. pkg_brod_repo = https://github.com/klarna/brod.git
  415. pkg_brod_commit = master
  416. PACKAGES += bson
  417. pkg_bson_name = bson
  418. pkg_bson_description = BSON documents in Erlang, see bsonspec.org
  419. pkg_bson_homepage = https://github.com/comtihon/bson-erlang
  420. pkg_bson_fetch = git
  421. pkg_bson_repo = https://github.com/comtihon/bson-erlang
  422. pkg_bson_commit = master
  423. PACKAGES += bullet
  424. pkg_bullet_name = bullet
  425. pkg_bullet_description = Simple, reliable, efficient streaming for Cowboy.
  426. pkg_bullet_homepage = http://ninenines.eu
  427. pkg_bullet_fetch = git
  428. pkg_bullet_repo = https://github.com/ninenines/bullet
  429. pkg_bullet_commit = master
  430. PACKAGES += cache
  431. pkg_cache_name = cache
  432. pkg_cache_description = Erlang in-memory cache
  433. pkg_cache_homepage = https://github.com/fogfish/cache
  434. pkg_cache_fetch = git
  435. pkg_cache_repo = https://github.com/fogfish/cache
  436. pkg_cache_commit = master
  437. PACKAGES += cake
  438. pkg_cake_name = cake
  439. pkg_cake_description = Really simple terminal colorization
  440. pkg_cake_homepage = https://github.com/darach/cake-erl
  441. pkg_cake_fetch = git
  442. pkg_cake_repo = https://github.com/darach/cake-erl
  443. pkg_cake_commit = master
  444. PACKAGES += carotene
  445. pkg_carotene_name = carotene
  446. pkg_carotene_description = Real-time server
  447. pkg_carotene_homepage = https://github.com/carotene/carotene
  448. pkg_carotene_fetch = git
  449. pkg_carotene_repo = https://github.com/carotene/carotene
  450. pkg_carotene_commit = master
  451. PACKAGES += cberl
  452. pkg_cberl_name = cberl
  453. pkg_cberl_description = NIF based Erlang bindings for Couchbase
  454. pkg_cberl_homepage = https://github.com/chitika/cberl
  455. pkg_cberl_fetch = git
  456. pkg_cberl_repo = https://github.com/chitika/cberl
  457. pkg_cberl_commit = master
  458. PACKAGES += cecho
  459. pkg_cecho_name = cecho
  460. pkg_cecho_description = An ncurses library for Erlang
  461. pkg_cecho_homepage = https://github.com/mazenharake/cecho
  462. pkg_cecho_fetch = git
  463. pkg_cecho_repo = https://github.com/mazenharake/cecho
  464. pkg_cecho_commit = master
  465. PACKAGES += cferl
  466. pkg_cferl_name = cferl
  467. pkg_cferl_description = Rackspace / Open Stack Cloud Files Erlang Client
  468. pkg_cferl_homepage = https://github.com/ddossot/cferl
  469. pkg_cferl_fetch = git
  470. pkg_cferl_repo = https://github.com/ddossot/cferl
  471. pkg_cferl_commit = master
  472. PACKAGES += chaos_monkey
  473. pkg_chaos_monkey_name = chaos_monkey
  474. pkg_chaos_monkey_description = This is The CHAOS MONKEY. It will kill your processes.
  475. pkg_chaos_monkey_homepage = https://github.com/dLuna/chaos_monkey
  476. pkg_chaos_monkey_fetch = git
  477. pkg_chaos_monkey_repo = https://github.com/dLuna/chaos_monkey
  478. pkg_chaos_monkey_commit = master
  479. PACKAGES += check_node
  480. pkg_check_node_name = check_node
  481. pkg_check_node_description = Nagios Scripts for monitoring Riak
  482. pkg_check_node_homepage = https://github.com/basho-labs/riak_nagios
  483. pkg_check_node_fetch = git
  484. pkg_check_node_repo = https://github.com/basho-labs/riak_nagios
  485. pkg_check_node_commit = master
  486. PACKAGES += chronos
  487. pkg_chronos_name = chronos
  488. pkg_chronos_description = Timer module for Erlang that makes it easy to abstact time out of the tests.
  489. pkg_chronos_homepage = https://github.com/lehoff/chronos
  490. pkg_chronos_fetch = git
  491. pkg_chronos_repo = https://github.com/lehoff/chronos
  492. pkg_chronos_commit = master
  493. PACKAGES += chumak
  494. pkg_chumak_name = chumak
  495. pkg_chumak_description = Pure Erlang implementation of ZeroMQ Message Transport Protocol.
  496. pkg_chumak_homepage = http://choven.ca
  497. pkg_chumak_fetch = git
  498. pkg_chumak_repo = https://github.com/chovencorp/chumak
  499. pkg_chumak_commit = master
  500. PACKAGES += cl
  501. pkg_cl_name = cl
  502. pkg_cl_description = OpenCL binding for Erlang
  503. pkg_cl_homepage = https://github.com/tonyrog/cl
  504. pkg_cl_fetch = git
  505. pkg_cl_repo = https://github.com/tonyrog/cl
  506. pkg_cl_commit = master
  507. PACKAGES += classifier
  508. pkg_classifier_name = classifier
  509. pkg_classifier_description = An Erlang Bayesian Filter and Text Classifier
  510. pkg_classifier_homepage = https://github.com/inaka/classifier
  511. pkg_classifier_fetch = git
  512. pkg_classifier_repo = https://github.com/inaka/classifier
  513. pkg_classifier_commit = master
  514. PACKAGES += clique
  515. pkg_clique_name = clique
  516. pkg_clique_description = CLI Framework for Erlang
  517. pkg_clique_homepage = https://github.com/basho/clique
  518. pkg_clique_fetch = git
  519. pkg_clique_repo = https://github.com/basho/clique
  520. pkg_clique_commit = develop
  521. PACKAGES += cloudi_core
  522. pkg_cloudi_core_name = cloudi_core
  523. pkg_cloudi_core_description = CloudI internal service runtime
  524. pkg_cloudi_core_homepage = http://cloudi.org/
  525. pkg_cloudi_core_fetch = git
  526. pkg_cloudi_core_repo = https://github.com/CloudI/cloudi_core
  527. pkg_cloudi_core_commit = master
  528. PACKAGES += cloudi_service_api_requests
  529. pkg_cloudi_service_api_requests_name = cloudi_service_api_requests
  530. pkg_cloudi_service_api_requests_description = CloudI Service API requests (JSON-RPC/Erlang-term support)
  531. pkg_cloudi_service_api_requests_homepage = http://cloudi.org/
  532. pkg_cloudi_service_api_requests_fetch = git
  533. pkg_cloudi_service_api_requests_repo = https://github.com/CloudI/cloudi_service_api_requests
  534. pkg_cloudi_service_api_requests_commit = master
  535. PACKAGES += cloudi_service_db
  536. pkg_cloudi_service_db_name = cloudi_service_db
  537. pkg_cloudi_service_db_description = CloudI Database (in-memory/testing/generic)
  538. pkg_cloudi_service_db_homepage = http://cloudi.org/
  539. pkg_cloudi_service_db_fetch = git
  540. pkg_cloudi_service_db_repo = https://github.com/CloudI/cloudi_service_db
  541. pkg_cloudi_service_db_commit = master
  542. PACKAGES += cloudi_service_db_cassandra
  543. pkg_cloudi_service_db_cassandra_name = cloudi_service_db_cassandra
  544. pkg_cloudi_service_db_cassandra_description = Cassandra CloudI Service
  545. pkg_cloudi_service_db_cassandra_homepage = http://cloudi.org/
  546. pkg_cloudi_service_db_cassandra_fetch = git
  547. pkg_cloudi_service_db_cassandra_repo = https://github.com/CloudI/cloudi_service_db_cassandra
  548. pkg_cloudi_service_db_cassandra_commit = master
  549. PACKAGES += cloudi_service_db_cassandra_cql
  550. pkg_cloudi_service_db_cassandra_cql_name = cloudi_service_db_cassandra_cql
  551. pkg_cloudi_service_db_cassandra_cql_description = Cassandra CQL CloudI Service
  552. pkg_cloudi_service_db_cassandra_cql_homepage = http://cloudi.org/
  553. pkg_cloudi_service_db_cassandra_cql_fetch = git
  554. pkg_cloudi_service_db_cassandra_cql_repo = https://github.com/CloudI/cloudi_service_db_cassandra_cql
  555. pkg_cloudi_service_db_cassandra_cql_commit = master
  556. PACKAGES += cloudi_service_db_couchdb
  557. pkg_cloudi_service_db_couchdb_name = cloudi_service_db_couchdb
  558. pkg_cloudi_service_db_couchdb_description = CouchDB CloudI Service
  559. pkg_cloudi_service_db_couchdb_homepage = http://cloudi.org/
  560. pkg_cloudi_service_db_couchdb_fetch = git
  561. pkg_cloudi_service_db_couchdb_repo = https://github.com/CloudI/cloudi_service_db_couchdb
  562. pkg_cloudi_service_db_couchdb_commit = master
  563. PACKAGES += cloudi_service_db_elasticsearch
  564. pkg_cloudi_service_db_elasticsearch_name = cloudi_service_db_elasticsearch
  565. pkg_cloudi_service_db_elasticsearch_description = elasticsearch CloudI Service
  566. pkg_cloudi_service_db_elasticsearch_homepage = http://cloudi.org/
  567. pkg_cloudi_service_db_elasticsearch_fetch = git
  568. pkg_cloudi_service_db_elasticsearch_repo = https://github.com/CloudI/cloudi_service_db_elasticsearch
  569. pkg_cloudi_service_db_elasticsearch_commit = master
  570. PACKAGES += cloudi_service_db_memcached
  571. pkg_cloudi_service_db_memcached_name = cloudi_service_db_memcached
  572. pkg_cloudi_service_db_memcached_description = memcached CloudI Service
  573. pkg_cloudi_service_db_memcached_homepage = http://cloudi.org/
  574. pkg_cloudi_service_db_memcached_fetch = git
  575. pkg_cloudi_service_db_memcached_repo = https://github.com/CloudI/cloudi_service_db_memcached
  576. pkg_cloudi_service_db_memcached_commit = master
  577. PACKAGES += cloudi_service_db_mysql
  578. pkg_cloudi_service_db_mysql_name = cloudi_service_db_mysql
  579. pkg_cloudi_service_db_mysql_description = MySQL CloudI Service
  580. pkg_cloudi_service_db_mysql_homepage = http://cloudi.org/
  581. pkg_cloudi_service_db_mysql_fetch = git
  582. pkg_cloudi_service_db_mysql_repo = https://github.com/CloudI/cloudi_service_db_mysql
  583. pkg_cloudi_service_db_mysql_commit = master
  584. PACKAGES += cloudi_service_db_pgsql
  585. pkg_cloudi_service_db_pgsql_name = cloudi_service_db_pgsql
  586. pkg_cloudi_service_db_pgsql_description = PostgreSQL CloudI Service
  587. pkg_cloudi_service_db_pgsql_homepage = http://cloudi.org/
  588. pkg_cloudi_service_db_pgsql_fetch = git
  589. pkg_cloudi_service_db_pgsql_repo = https://github.com/CloudI/cloudi_service_db_pgsql
  590. pkg_cloudi_service_db_pgsql_commit = master
  591. PACKAGES += cloudi_service_db_riak
  592. pkg_cloudi_service_db_riak_name = cloudi_service_db_riak
  593. pkg_cloudi_service_db_riak_description = Riak CloudI Service
  594. pkg_cloudi_service_db_riak_homepage = http://cloudi.org/
  595. pkg_cloudi_service_db_riak_fetch = git
  596. pkg_cloudi_service_db_riak_repo = https://github.com/CloudI/cloudi_service_db_riak
  597. pkg_cloudi_service_db_riak_commit = master
  598. PACKAGES += cloudi_service_db_tokyotyrant
  599. pkg_cloudi_service_db_tokyotyrant_name = cloudi_service_db_tokyotyrant
  600. pkg_cloudi_service_db_tokyotyrant_description = Tokyo Tyrant CloudI Service
  601. pkg_cloudi_service_db_tokyotyrant_homepage = http://cloudi.org/
  602. pkg_cloudi_service_db_tokyotyrant_fetch = git
  603. pkg_cloudi_service_db_tokyotyrant_repo = https://github.com/CloudI/cloudi_service_db_tokyotyrant
  604. pkg_cloudi_service_db_tokyotyrant_commit = master
  605. PACKAGES += cloudi_service_filesystem
  606. pkg_cloudi_service_filesystem_name = cloudi_service_filesystem
  607. pkg_cloudi_service_filesystem_description = Filesystem CloudI Service
  608. pkg_cloudi_service_filesystem_homepage = http://cloudi.org/
  609. pkg_cloudi_service_filesystem_fetch = git
  610. pkg_cloudi_service_filesystem_repo = https://github.com/CloudI/cloudi_service_filesystem
  611. pkg_cloudi_service_filesystem_commit = master
  612. PACKAGES += cloudi_service_http_client
  613. pkg_cloudi_service_http_client_name = cloudi_service_http_client
  614. pkg_cloudi_service_http_client_description = HTTP client CloudI Service
  615. pkg_cloudi_service_http_client_homepage = http://cloudi.org/
  616. pkg_cloudi_service_http_client_fetch = git
  617. pkg_cloudi_service_http_client_repo = https://github.com/CloudI/cloudi_service_http_client
  618. pkg_cloudi_service_http_client_commit = master
  619. PACKAGES += cloudi_service_http_cowboy
  620. pkg_cloudi_service_http_cowboy_name = cloudi_service_http_cowboy
  621. pkg_cloudi_service_http_cowboy_description = cowboy HTTP/HTTPS CloudI Service
  622. pkg_cloudi_service_http_cowboy_homepage = http://cloudi.org/
  623. pkg_cloudi_service_http_cowboy_fetch = git
  624. pkg_cloudi_service_http_cowboy_repo = https://github.com/CloudI/cloudi_service_http_cowboy
  625. pkg_cloudi_service_http_cowboy_commit = master
  626. PACKAGES += cloudi_service_http_elli
  627. pkg_cloudi_service_http_elli_name = cloudi_service_http_elli
  628. pkg_cloudi_service_http_elli_description = elli HTTP CloudI Service
  629. pkg_cloudi_service_http_elli_homepage = http://cloudi.org/
  630. pkg_cloudi_service_http_elli_fetch = git
  631. pkg_cloudi_service_http_elli_repo = https://github.com/CloudI/cloudi_service_http_elli
  632. pkg_cloudi_service_http_elli_commit = master
  633. PACKAGES += cloudi_service_map_reduce
  634. pkg_cloudi_service_map_reduce_name = cloudi_service_map_reduce
  635. pkg_cloudi_service_map_reduce_description = Map/Reduce CloudI Service
  636. pkg_cloudi_service_map_reduce_homepage = http://cloudi.org/
  637. pkg_cloudi_service_map_reduce_fetch = git
  638. pkg_cloudi_service_map_reduce_repo = https://github.com/CloudI/cloudi_service_map_reduce
  639. pkg_cloudi_service_map_reduce_commit = master
  640. PACKAGES += cloudi_service_oauth1
  641. pkg_cloudi_service_oauth1_name = cloudi_service_oauth1
  642. pkg_cloudi_service_oauth1_description = OAuth v1.0 CloudI Service
  643. pkg_cloudi_service_oauth1_homepage = http://cloudi.org/
  644. pkg_cloudi_service_oauth1_fetch = git
  645. pkg_cloudi_service_oauth1_repo = https://github.com/CloudI/cloudi_service_oauth1
  646. pkg_cloudi_service_oauth1_commit = master
  647. PACKAGES += cloudi_service_queue
  648. pkg_cloudi_service_queue_name = cloudi_service_queue
  649. pkg_cloudi_service_queue_description = Persistent Queue Service
  650. pkg_cloudi_service_queue_homepage = http://cloudi.org/
  651. pkg_cloudi_service_queue_fetch = git
  652. pkg_cloudi_service_queue_repo = https://github.com/CloudI/cloudi_service_queue
  653. pkg_cloudi_service_queue_commit = master
  654. PACKAGES += cloudi_service_quorum
  655. pkg_cloudi_service_quorum_name = cloudi_service_quorum
  656. pkg_cloudi_service_quorum_description = CloudI Quorum Service
  657. pkg_cloudi_service_quorum_homepage = http://cloudi.org/
  658. pkg_cloudi_service_quorum_fetch = git
  659. pkg_cloudi_service_quorum_repo = https://github.com/CloudI/cloudi_service_quorum
  660. pkg_cloudi_service_quorum_commit = master
  661. PACKAGES += cloudi_service_router
  662. pkg_cloudi_service_router_name = cloudi_service_router
  663. pkg_cloudi_service_router_description = CloudI Router Service
  664. pkg_cloudi_service_router_homepage = http://cloudi.org/
  665. pkg_cloudi_service_router_fetch = git
  666. pkg_cloudi_service_router_repo = https://github.com/CloudI/cloudi_service_router
  667. pkg_cloudi_service_router_commit = master
  668. PACKAGES += cloudi_service_tcp
  669. pkg_cloudi_service_tcp_name = cloudi_service_tcp
  670. pkg_cloudi_service_tcp_description = TCP CloudI Service
  671. pkg_cloudi_service_tcp_homepage = http://cloudi.org/
  672. pkg_cloudi_service_tcp_fetch = git
  673. pkg_cloudi_service_tcp_repo = https://github.com/CloudI/cloudi_service_tcp
  674. pkg_cloudi_service_tcp_commit = master
  675. PACKAGES += cloudi_service_timers
  676. pkg_cloudi_service_timers_name = cloudi_service_timers
  677. pkg_cloudi_service_timers_description = Timers CloudI Service
  678. pkg_cloudi_service_timers_homepage = http://cloudi.org/
  679. pkg_cloudi_service_timers_fetch = git
  680. pkg_cloudi_service_timers_repo = https://github.com/CloudI/cloudi_service_timers
  681. pkg_cloudi_service_timers_commit = master
  682. PACKAGES += cloudi_service_udp
  683. pkg_cloudi_service_udp_name = cloudi_service_udp
  684. pkg_cloudi_service_udp_description = UDP CloudI Service
  685. pkg_cloudi_service_udp_homepage = http://cloudi.org/
  686. pkg_cloudi_service_udp_fetch = git
  687. pkg_cloudi_service_udp_repo = https://github.com/CloudI/cloudi_service_udp
  688. pkg_cloudi_service_udp_commit = master
  689. PACKAGES += cloudi_service_validate
  690. pkg_cloudi_service_validate_name = cloudi_service_validate
  691. pkg_cloudi_service_validate_description = CloudI Validate Service
  692. pkg_cloudi_service_validate_homepage = http://cloudi.org/
  693. pkg_cloudi_service_validate_fetch = git
  694. pkg_cloudi_service_validate_repo = https://github.com/CloudI/cloudi_service_validate
  695. pkg_cloudi_service_validate_commit = master
  696. PACKAGES += cloudi_service_zeromq
  697. pkg_cloudi_service_zeromq_name = cloudi_service_zeromq
  698. pkg_cloudi_service_zeromq_description = ZeroMQ CloudI Service
  699. pkg_cloudi_service_zeromq_homepage = http://cloudi.org/
  700. pkg_cloudi_service_zeromq_fetch = git
  701. pkg_cloudi_service_zeromq_repo = https://github.com/CloudI/cloudi_service_zeromq
  702. pkg_cloudi_service_zeromq_commit = master
  703. PACKAGES += cluster_info
  704. pkg_cluster_info_name = cluster_info
  705. pkg_cluster_info_description = Fork of Hibari's nifty cluster_info OTP app
  706. pkg_cluster_info_homepage = https://github.com/basho/cluster_info
  707. pkg_cluster_info_fetch = git
  708. pkg_cluster_info_repo = https://github.com/basho/cluster_info
  709. pkg_cluster_info_commit = master
  710. PACKAGES += color
  711. pkg_color_name = color
  712. pkg_color_description = ANSI colors for your Erlang
  713. pkg_color_homepage = https://github.com/julianduque/erlang-color
  714. pkg_color_fetch = git
  715. pkg_color_repo = https://github.com/julianduque/erlang-color
  716. pkg_color_commit = master
  717. PACKAGES += confetti
  718. pkg_confetti_name = confetti
  719. pkg_confetti_description = Erlang configuration provider / application:get_env/2 on steroids
  720. pkg_confetti_homepage = https://github.com/jtendo/confetti
  721. pkg_confetti_fetch = git
  722. pkg_confetti_repo = https://github.com/jtendo/confetti
  723. pkg_confetti_commit = master
  724. PACKAGES += couchbeam
  725. pkg_couchbeam_name = couchbeam
  726. pkg_couchbeam_description = Apache CouchDB client in Erlang
  727. pkg_couchbeam_homepage = https://github.com/benoitc/couchbeam
  728. pkg_couchbeam_fetch = git
  729. pkg_couchbeam_repo = https://github.com/benoitc/couchbeam
  730. pkg_couchbeam_commit = master
  731. PACKAGES += covertool
  732. pkg_covertool_name = covertool
  733. pkg_covertool_description = Tool to convert Erlang cover data files into Cobertura XML reports
  734. pkg_covertool_homepage = https://github.com/idubrov/covertool
  735. pkg_covertool_fetch = git
  736. pkg_covertool_repo = https://github.com/idubrov/covertool
  737. pkg_covertool_commit = master
  738. PACKAGES += cowboy
  739. pkg_cowboy_name = cowboy
  740. pkg_cowboy_description = Small, fast and modular HTTP server.
  741. pkg_cowboy_homepage = http://ninenines.eu
  742. pkg_cowboy_fetch = git
  743. pkg_cowboy_repo = https://github.com/ninenines/cowboy
  744. pkg_cowboy_commit = 1.0.4
  745. PACKAGES += cowdb
  746. pkg_cowdb_name = cowdb
  747. pkg_cowdb_description = Pure Key/Value database library for Erlang Applications
  748. pkg_cowdb_homepage = https://github.com/refuge/cowdb
  749. pkg_cowdb_fetch = git
  750. pkg_cowdb_repo = https://github.com/refuge/cowdb
  751. pkg_cowdb_commit = master
  752. PACKAGES += cowlib
  753. pkg_cowlib_name = cowlib
  754. pkg_cowlib_description = Support library for manipulating Web protocols.
  755. pkg_cowlib_homepage = http://ninenines.eu
  756. pkg_cowlib_fetch = git
  757. pkg_cowlib_repo = https://github.com/ninenines/cowlib
  758. pkg_cowlib_commit = 1.0.2
  759. PACKAGES += cpg
  760. pkg_cpg_name = cpg
  761. pkg_cpg_description = CloudI Process Groups
  762. pkg_cpg_homepage = https://github.com/okeuday/cpg
  763. pkg_cpg_fetch = git
  764. pkg_cpg_repo = https://github.com/okeuday/cpg
  765. pkg_cpg_commit = master
  766. PACKAGES += cqerl
  767. pkg_cqerl_name = cqerl
  768. pkg_cqerl_description = Native Erlang CQL client for Cassandra
  769. pkg_cqerl_homepage = https://matehat.github.io/cqerl/
  770. pkg_cqerl_fetch = git
  771. pkg_cqerl_repo = https://github.com/matehat/cqerl
  772. pkg_cqerl_commit = master
  773. PACKAGES += cr
  774. pkg_cr_name = cr
  775. pkg_cr_description = Chain Replication
  776. pkg_cr_homepage = https://synrc.com/apps/cr/doc/cr.htm
  777. pkg_cr_fetch = git
  778. pkg_cr_repo = https://github.com/spawnproc/cr
  779. pkg_cr_commit = master
  780. PACKAGES += cuttlefish
  781. pkg_cuttlefish_name = cuttlefish
  782. pkg_cuttlefish_description = never lose your childlike sense of wonder baby cuttlefish, promise me?
  783. pkg_cuttlefish_homepage = https://github.com/basho/cuttlefish
  784. pkg_cuttlefish_fetch = git
  785. pkg_cuttlefish_repo = https://github.com/basho/cuttlefish
  786. pkg_cuttlefish_commit = master
  787. PACKAGES += damocles
  788. pkg_damocles_name = damocles
  789. pkg_damocles_description = Erlang library for generating adversarial network conditions for QAing distributed applications/systems on a single Linux box.
  790. pkg_damocles_homepage = https://github.com/lostcolony/damocles
  791. pkg_damocles_fetch = git
  792. pkg_damocles_repo = https://github.com/lostcolony/damocles
  793. pkg_damocles_commit = master
  794. PACKAGES += debbie
  795. pkg_debbie_name = debbie
  796. pkg_debbie_description = .DEB Built In Erlang
  797. pkg_debbie_homepage = https://github.com/crownedgrouse/debbie
  798. pkg_debbie_fetch = git
  799. pkg_debbie_repo = https://github.com/crownedgrouse/debbie
  800. pkg_debbie_commit = master
  801. PACKAGES += decimal
  802. pkg_decimal_name = decimal
  803. pkg_decimal_description = An Erlang decimal arithmetic library
  804. pkg_decimal_homepage = https://github.com/tim/erlang-decimal
  805. pkg_decimal_fetch = git
  806. pkg_decimal_repo = https://github.com/tim/erlang-decimal
  807. pkg_decimal_commit = master
  808. PACKAGES += detergent
  809. pkg_detergent_name = detergent
  810. pkg_detergent_description = An emulsifying Erlang SOAP library
  811. pkg_detergent_homepage = https://github.com/devinus/detergent
  812. pkg_detergent_fetch = git
  813. pkg_detergent_repo = https://github.com/devinus/detergent
  814. pkg_detergent_commit = master
  815. PACKAGES += detest
  816. pkg_detest_name = detest
  817. pkg_detest_description = Tool for running tests on a cluster of erlang nodes
  818. pkg_detest_homepage = https://github.com/biokoda/detest
  819. pkg_detest_fetch = git
  820. pkg_detest_repo = https://github.com/biokoda/detest
  821. pkg_detest_commit = master
  822. PACKAGES += dh_date
  823. pkg_dh_date_name = dh_date
  824. pkg_dh_date_description = Date formatting / parsing library for erlang
  825. pkg_dh_date_homepage = https://github.com/daleharvey/dh_date
  826. pkg_dh_date_fetch = git
  827. pkg_dh_date_repo = https://github.com/daleharvey/dh_date
  828. pkg_dh_date_commit = master
  829. PACKAGES += dirbusterl
  830. pkg_dirbusterl_name = dirbusterl
  831. pkg_dirbusterl_description = DirBuster successor in Erlang
  832. pkg_dirbusterl_homepage = https://github.com/silentsignal/DirBustErl
  833. pkg_dirbusterl_fetch = git
  834. pkg_dirbusterl_repo = https://github.com/silentsignal/DirBustErl
  835. pkg_dirbusterl_commit = master
  836. PACKAGES += dispcount
  837. pkg_dispcount_name = dispcount
  838. pkg_dispcount_description = Erlang task dispatcher based on ETS counters.
  839. pkg_dispcount_homepage = https://github.com/ferd/dispcount
  840. pkg_dispcount_fetch = git
  841. pkg_dispcount_repo = https://github.com/ferd/dispcount
  842. pkg_dispcount_commit = master
  843. PACKAGES += dlhttpc
  844. pkg_dlhttpc_name = dlhttpc
  845. pkg_dlhttpc_description = dispcount-based lhttpc fork for massive amounts of requests to limited endpoints
  846. pkg_dlhttpc_homepage = https://github.com/ferd/dlhttpc
  847. pkg_dlhttpc_fetch = git
  848. pkg_dlhttpc_repo = https://github.com/ferd/dlhttpc
  849. pkg_dlhttpc_commit = master
  850. PACKAGES += dns
  851. pkg_dns_name = dns
  852. pkg_dns_description = Erlang DNS library
  853. pkg_dns_homepage = https://github.com/aetrion/dns_erlang
  854. pkg_dns_fetch = git
  855. pkg_dns_repo = https://github.com/aetrion/dns_erlang
  856. pkg_dns_commit = master
  857. PACKAGES += dnssd
  858. pkg_dnssd_name = dnssd
  859. pkg_dnssd_description = Erlang interface to Apple's Bonjour D NS Service Discovery implementation
  860. pkg_dnssd_homepage = https://github.com/benoitc/dnssd_erlang
  861. pkg_dnssd_fetch = git
  862. pkg_dnssd_repo = https://github.com/benoitc/dnssd_erlang
  863. pkg_dnssd_commit = master
  864. PACKAGES += dtl
  865. pkg_dtl_name = dtl
  866. pkg_dtl_description = Django Template Language: A full-featured port of the Django template engine to Erlang.
  867. pkg_dtl_homepage = https://github.com/oinksoft/dtl
  868. pkg_dtl_fetch = git
  869. pkg_dtl_repo = https://github.com/oinksoft/dtl
  870. pkg_dtl_commit = master
  871. PACKAGES += dynamic_compile
  872. pkg_dynamic_compile_name = dynamic_compile
  873. pkg_dynamic_compile_description = compile and load erlang modules from string input
  874. pkg_dynamic_compile_homepage = https://github.com/jkvor/dynamic_compile
  875. pkg_dynamic_compile_fetch = git
  876. pkg_dynamic_compile_repo = https://github.com/jkvor/dynamic_compile
  877. pkg_dynamic_compile_commit = master
  878. PACKAGES += e2
  879. pkg_e2_name = e2
  880. pkg_e2_description = Library to simply writing correct OTP applications.
  881. pkg_e2_homepage = http://e2project.org
  882. pkg_e2_fetch = git
  883. pkg_e2_repo = https://github.com/gar1t/e2
  884. pkg_e2_commit = master
  885. PACKAGES += eamf
  886. pkg_eamf_name = eamf
  887. pkg_eamf_description = eAMF provides Action Message Format (AMF) support for Erlang
  888. pkg_eamf_homepage = https://github.com/mrinalwadhwa/eamf
  889. pkg_eamf_fetch = git
  890. pkg_eamf_repo = https://github.com/mrinalwadhwa/eamf
  891. pkg_eamf_commit = master
  892. PACKAGES += eavro
  893. pkg_eavro_name = eavro
  894. pkg_eavro_description = Apache Avro encoder/decoder
  895. pkg_eavro_homepage = https://github.com/SIfoxDevTeam/eavro
  896. pkg_eavro_fetch = git
  897. pkg_eavro_repo = https://github.com/SIfoxDevTeam/eavro
  898. pkg_eavro_commit = master
  899. PACKAGES += ecapnp
  900. pkg_ecapnp_name = ecapnp
  901. pkg_ecapnp_description = Cap'n Proto library for Erlang
  902. pkg_ecapnp_homepage = https://github.com/kaos/ecapnp
  903. pkg_ecapnp_fetch = git
  904. pkg_ecapnp_repo = https://github.com/kaos/ecapnp
  905. pkg_ecapnp_commit = master
  906. PACKAGES += econfig
  907. pkg_econfig_name = econfig
  908. pkg_econfig_description = simple Erlang config handler using INI files
  909. pkg_econfig_homepage = https://github.com/benoitc/econfig
  910. pkg_econfig_fetch = git
  911. pkg_econfig_repo = https://github.com/benoitc/econfig
  912. pkg_econfig_commit = master
  913. PACKAGES += edate
  914. pkg_edate_name = edate
  915. pkg_edate_description = date manipulation library for erlang
  916. pkg_edate_homepage = https://github.com/dweldon/edate
  917. pkg_edate_fetch = git
  918. pkg_edate_repo = https://github.com/dweldon/edate
  919. pkg_edate_commit = master
  920. PACKAGES += edgar
  921. pkg_edgar_name = edgar
  922. pkg_edgar_description = Erlang Does GNU AR
  923. pkg_edgar_homepage = https://github.com/crownedgrouse/edgar
  924. pkg_edgar_fetch = git
  925. pkg_edgar_repo = https://github.com/crownedgrouse/edgar
  926. pkg_edgar_commit = master
  927. PACKAGES += edis
  928. pkg_edis_name = edis
  929. pkg_edis_description = An Erlang implementation of Redis KV Store
  930. pkg_edis_homepage = http://inaka.github.com/edis/
  931. pkg_edis_fetch = git
  932. pkg_edis_repo = https://github.com/inaka/edis
  933. pkg_edis_commit = master
  934. PACKAGES += edns
  935. pkg_edns_name = edns
  936. pkg_edns_description = Erlang/OTP DNS server
  937. pkg_edns_homepage = https://github.com/hcvst/erlang-dns
  938. pkg_edns_fetch = git
  939. pkg_edns_repo = https://github.com/hcvst/erlang-dns
  940. pkg_edns_commit = master
  941. PACKAGES += edown
  942. pkg_edown_name = edown
  943. pkg_edown_description = EDoc extension for generating Github-flavored Markdown
  944. pkg_edown_homepage = https://github.com/uwiger/edown
  945. pkg_edown_fetch = git
  946. pkg_edown_repo = https://github.com/uwiger/edown
  947. pkg_edown_commit = master
  948. PACKAGES += eep
  949. pkg_eep_name = eep
  950. pkg_eep_description = Erlang Easy Profiling (eep) application provides a way to analyze application performance and call hierarchy
  951. pkg_eep_homepage = https://github.com/virtan/eep
  952. pkg_eep_fetch = git
  953. pkg_eep_repo = https://github.com/virtan/eep
  954. pkg_eep_commit = master
  955. PACKAGES += eep_app
  956. pkg_eep_app_name = eep_app
  957. pkg_eep_app_description = Embedded Event Processing
  958. pkg_eep_app_homepage = https://github.com/darach/eep-erl
  959. pkg_eep_app_fetch = git
  960. pkg_eep_app_repo = https://github.com/darach/eep-erl
  961. pkg_eep_app_commit = master
  962. PACKAGES += efene
  963. pkg_efene_name = efene
  964. pkg_efene_description = Alternative syntax for the Erlang Programming Language focusing on simplicity, ease of use and programmer UX
  965. pkg_efene_homepage = https://github.com/efene/efene
  966. pkg_efene_fetch = git
  967. pkg_efene_repo = https://github.com/efene/efene
  968. pkg_efene_commit = master
  969. PACKAGES += egeoip
  970. pkg_egeoip_name = egeoip
  971. pkg_egeoip_description = Erlang IP Geolocation module, currently supporting the MaxMind GeoLite City Database.
  972. pkg_egeoip_homepage = https://github.com/mochi/egeoip
  973. pkg_egeoip_fetch = git
  974. pkg_egeoip_repo = https://github.com/mochi/egeoip
  975. pkg_egeoip_commit = master
  976. PACKAGES += ehsa
  977. pkg_ehsa_name = ehsa
  978. pkg_ehsa_description = Erlang HTTP server basic and digest authentication modules
  979. pkg_ehsa_homepage = https://bitbucket.org/a12n/ehsa
  980. pkg_ehsa_fetch = hg
  981. pkg_ehsa_repo = https://bitbucket.org/a12n/ehsa
  982. pkg_ehsa_commit = default
  983. PACKAGES += ej
  984. pkg_ej_name = ej
  985. pkg_ej_description = Helper module for working with Erlang terms representing JSON
  986. pkg_ej_homepage = https://github.com/seth/ej
  987. pkg_ej_fetch = git
  988. pkg_ej_repo = https://github.com/seth/ej
  989. pkg_ej_commit = master
  990. PACKAGES += ejabberd
  991. pkg_ejabberd_name = ejabberd
  992. pkg_ejabberd_description = Robust, ubiquitous and massively scalable Jabber / XMPP Instant Messaging platform
  993. pkg_ejabberd_homepage = https://github.com/processone/ejabberd
  994. pkg_ejabberd_fetch = git
  995. pkg_ejabberd_repo = https://github.com/processone/ejabberd
  996. pkg_ejabberd_commit = master
  997. PACKAGES += ejwt
  998. pkg_ejwt_name = ejwt
  999. pkg_ejwt_description = erlang library for JSON Web Token
  1000. pkg_ejwt_homepage = https://github.com/artefactop/ejwt
  1001. pkg_ejwt_fetch = git
  1002. pkg_ejwt_repo = https://github.com/artefactop/ejwt
  1003. pkg_ejwt_commit = master
  1004. PACKAGES += ekaf
  1005. pkg_ekaf_name = ekaf
  1006. pkg_ekaf_description = A minimal, high-performance Kafka client in Erlang.
  1007. pkg_ekaf_homepage = https://github.com/helpshift/ekaf
  1008. pkg_ekaf_fetch = git
  1009. pkg_ekaf_repo = https://github.com/helpshift/ekaf
  1010. pkg_ekaf_commit = master
  1011. PACKAGES += elarm
  1012. pkg_elarm_name = elarm
  1013. pkg_elarm_description = Alarm Manager for Erlang.
  1014. pkg_elarm_homepage = https://github.com/esl/elarm
  1015. pkg_elarm_fetch = git
  1016. pkg_elarm_repo = https://github.com/esl/elarm
  1017. pkg_elarm_commit = master
  1018. PACKAGES += eleveldb
  1019. pkg_eleveldb_name = eleveldb
  1020. pkg_eleveldb_description = Erlang LevelDB API
  1021. pkg_eleveldb_homepage = https://github.com/basho/eleveldb
  1022. pkg_eleveldb_fetch = git
  1023. pkg_eleveldb_repo = https://github.com/basho/eleveldb
  1024. pkg_eleveldb_commit = master
  1025. PACKAGES += elli
  1026. pkg_elli_name = elli
  1027. pkg_elli_description = Simple, robust and performant Erlang web server
  1028. pkg_elli_homepage = https://github.com/knutin/elli
  1029. pkg_elli_fetch = git
  1030. pkg_elli_repo = https://github.com/knutin/elli
  1031. pkg_elli_commit = master
  1032. PACKAGES += elvis
  1033. pkg_elvis_name = elvis
  1034. pkg_elvis_description = Erlang Style Reviewer
  1035. pkg_elvis_homepage = https://github.com/inaka/elvis
  1036. pkg_elvis_fetch = git
  1037. pkg_elvis_repo = https://github.com/inaka/elvis
  1038. pkg_elvis_commit = master
  1039. PACKAGES += emagick
  1040. pkg_emagick_name = emagick
  1041. pkg_emagick_description = Wrapper for Graphics/ImageMagick command line tool.
  1042. pkg_emagick_homepage = https://github.com/kivra/emagick
  1043. pkg_emagick_fetch = git
  1044. pkg_emagick_repo = https://github.com/kivra/emagick
  1045. pkg_emagick_commit = master
  1046. PACKAGES += emysql
  1047. pkg_emysql_name = emysql
  1048. pkg_emysql_description = Stable, pure Erlang MySQL driver.
  1049. pkg_emysql_homepage = https://github.com/Eonblast/Emysql
  1050. pkg_emysql_fetch = git
  1051. pkg_emysql_repo = https://github.com/Eonblast/Emysql
  1052. pkg_emysql_commit = master
  1053. PACKAGES += enm
  1054. pkg_enm_name = enm
  1055. pkg_enm_description = Erlang driver for nanomsg
  1056. pkg_enm_homepage = https://github.com/basho/enm
  1057. pkg_enm_fetch = git
  1058. pkg_enm_repo = https://github.com/basho/enm
  1059. pkg_enm_commit = master
  1060. PACKAGES += entop
  1061. pkg_entop_name = entop
  1062. pkg_entop_description = A top-like tool for monitoring an Erlang node
  1063. pkg_entop_homepage = https://github.com/mazenharake/entop
  1064. pkg_entop_fetch = git
  1065. pkg_entop_repo = https://github.com/mazenharake/entop
  1066. pkg_entop_commit = master
  1067. PACKAGES += epcap
  1068. pkg_epcap_name = epcap
  1069. pkg_epcap_description = Erlang packet capture interface using pcap
  1070. pkg_epcap_homepage = https://github.com/msantos/epcap
  1071. pkg_epcap_fetch = git
  1072. pkg_epcap_repo = https://github.com/msantos/epcap
  1073. pkg_epcap_commit = master
  1074. PACKAGES += eper
  1075. pkg_eper_name = eper
  1076. pkg_eper_description = Erlang performance and debugging tools.
  1077. pkg_eper_homepage = https://github.com/massemanet/eper
  1078. pkg_eper_fetch = git
  1079. pkg_eper_repo = https://github.com/massemanet/eper
  1080. pkg_eper_commit = master
  1081. PACKAGES += epgsql
  1082. pkg_epgsql_name = epgsql
  1083. pkg_epgsql_description = Erlang PostgreSQL client library.
  1084. pkg_epgsql_homepage = https://github.com/epgsql/epgsql
  1085. pkg_epgsql_fetch = git
  1086. pkg_epgsql_repo = https://github.com/epgsql/epgsql
  1087. pkg_epgsql_commit = master
  1088. PACKAGES += episcina
  1089. pkg_episcina_name = episcina
  1090. pkg_episcina_description = A simple non intrusive resource pool for connections
  1091. pkg_episcina_homepage = https://github.com/erlware/episcina
  1092. pkg_episcina_fetch = git
  1093. pkg_episcina_repo = https://github.com/erlware/episcina
  1094. pkg_episcina_commit = master
  1095. PACKAGES += eplot
  1096. pkg_eplot_name = eplot
  1097. pkg_eplot_description = A plot engine written in erlang.
  1098. pkg_eplot_homepage = https://github.com/psyeugenic/eplot
  1099. pkg_eplot_fetch = git
  1100. pkg_eplot_repo = https://github.com/psyeugenic/eplot
  1101. pkg_eplot_commit = master
  1102. PACKAGES += epocxy
  1103. pkg_epocxy_name = epocxy
  1104. pkg_epocxy_description = Erlang Patterns of Concurrency
  1105. pkg_epocxy_homepage = https://github.com/duomark/epocxy
  1106. pkg_epocxy_fetch = git
  1107. pkg_epocxy_repo = https://github.com/duomark/epocxy
  1108. pkg_epocxy_commit = master
  1109. PACKAGES += epubnub
  1110. pkg_epubnub_name = epubnub
  1111. pkg_epubnub_description = Erlang PubNub API
  1112. pkg_epubnub_homepage = https://github.com/tsloughter/epubnub
  1113. pkg_epubnub_fetch = git
  1114. pkg_epubnub_repo = https://github.com/tsloughter/epubnub
  1115. pkg_epubnub_commit = master
  1116. PACKAGES += eqm
  1117. pkg_eqm_name = eqm
  1118. pkg_eqm_description = Erlang pub sub with supply-demand channels
  1119. pkg_eqm_homepage = https://github.com/loucash/eqm
  1120. pkg_eqm_fetch = git
  1121. pkg_eqm_repo = https://github.com/loucash/eqm
  1122. pkg_eqm_commit = master
  1123. PACKAGES += eredis
  1124. pkg_eredis_name = eredis
  1125. pkg_eredis_description = Erlang Redis client
  1126. pkg_eredis_homepage = https://github.com/wooga/eredis
  1127. pkg_eredis_fetch = git
  1128. pkg_eredis_repo = https://github.com/wooga/eredis
  1129. pkg_eredis_commit = master
  1130. PACKAGES += eredis_pool
  1131. pkg_eredis_pool_name = eredis_pool
  1132. pkg_eredis_pool_description = eredis_pool is Pool of Redis clients, using eredis and poolboy.
  1133. pkg_eredis_pool_homepage = https://github.com/hiroeorz/eredis_pool
  1134. pkg_eredis_pool_fetch = git
  1135. pkg_eredis_pool_repo = https://github.com/hiroeorz/eredis_pool
  1136. pkg_eredis_pool_commit = master
  1137. PACKAGES += erl_streams
  1138. pkg_erl_streams_name = erl_streams
  1139. pkg_erl_streams_description = Streams in Erlang
  1140. pkg_erl_streams_homepage = https://github.com/epappas/erl_streams
  1141. pkg_erl_streams_fetch = git
  1142. pkg_erl_streams_repo = https://github.com/epappas/erl_streams
  1143. pkg_erl_streams_commit = master
  1144. PACKAGES += erlang_cep
  1145. pkg_erlang_cep_name = erlang_cep
  1146. pkg_erlang_cep_description = A basic CEP package written in erlang
  1147. pkg_erlang_cep_homepage = https://github.com/danmacklin/erlang_cep
  1148. pkg_erlang_cep_fetch = git
  1149. pkg_erlang_cep_repo = https://github.com/danmacklin/erlang_cep
  1150. pkg_erlang_cep_commit = master
  1151. PACKAGES += erlang_js
  1152. pkg_erlang_js_name = erlang_js
  1153. pkg_erlang_js_description = A linked-in driver for Erlang to Mozilla's Spidermonkey Javascript runtime.
  1154. pkg_erlang_js_homepage = https://github.com/basho/erlang_js
  1155. pkg_erlang_js_fetch = git
  1156. pkg_erlang_js_repo = https://github.com/basho/erlang_js
  1157. pkg_erlang_js_commit = master
  1158. PACKAGES += erlang_localtime
  1159. pkg_erlang_localtime_name = erlang_localtime
  1160. pkg_erlang_localtime_description = Erlang library for conversion from one local time to another
  1161. pkg_erlang_localtime_homepage = https://github.com/dmitryme/erlang_localtime
  1162. pkg_erlang_localtime_fetch = git
  1163. pkg_erlang_localtime_repo = https://github.com/dmitryme/erlang_localtime
  1164. pkg_erlang_localtime_commit = master
  1165. PACKAGES += erlang_smtp
  1166. pkg_erlang_smtp_name = erlang_smtp
  1167. pkg_erlang_smtp_description = Erlang SMTP and POP3 server code.
  1168. pkg_erlang_smtp_homepage = https://github.com/tonyg/erlang-smtp
  1169. pkg_erlang_smtp_fetch = git
  1170. pkg_erlang_smtp_repo = https://github.com/tonyg/erlang-smtp
  1171. pkg_erlang_smtp_commit = master
  1172. PACKAGES += erlang_term
  1173. pkg_erlang_term_name = erlang_term
  1174. pkg_erlang_term_description = Erlang Term Info
  1175. pkg_erlang_term_homepage = https://github.com/okeuday/erlang_term
  1176. pkg_erlang_term_fetch = git
  1177. pkg_erlang_term_repo = https://github.com/okeuday/erlang_term
  1178. pkg_erlang_term_commit = master
  1179. PACKAGES += erlastic_search
  1180. pkg_erlastic_search_name = erlastic_search
  1181. pkg_erlastic_search_description = An Erlang app for communicating with Elastic Search's rest interface.
  1182. pkg_erlastic_search_homepage = https://github.com/tsloughter/erlastic_search
  1183. pkg_erlastic_search_fetch = git
  1184. pkg_erlastic_search_repo = https://github.com/tsloughter/erlastic_search
  1185. pkg_erlastic_search_commit = master
  1186. PACKAGES += erlasticsearch
  1187. pkg_erlasticsearch_name = erlasticsearch
  1188. pkg_erlasticsearch_description = Erlang thrift interface to elastic_search
  1189. pkg_erlasticsearch_homepage = https://github.com/dieswaytoofast/erlasticsearch
  1190. pkg_erlasticsearch_fetch = git
  1191. pkg_erlasticsearch_repo = https://github.com/dieswaytoofast/erlasticsearch
  1192. pkg_erlasticsearch_commit = master
  1193. PACKAGES += erlbrake
  1194. pkg_erlbrake_name = erlbrake
  1195. pkg_erlbrake_description = Erlang Airbrake notification client
  1196. pkg_erlbrake_homepage = https://github.com/kenpratt/erlbrake
  1197. pkg_erlbrake_fetch = git
  1198. pkg_erlbrake_repo = https://github.com/kenpratt/erlbrake
  1199. pkg_erlbrake_commit = master
  1200. PACKAGES += erlcloud
  1201. pkg_erlcloud_name = erlcloud
  1202. pkg_erlcloud_description = Cloud Computing library for erlang (Amazon EC2, S3, SQS, SimpleDB, Mechanical Turk, ELB)
  1203. pkg_erlcloud_homepage = https://github.com/gleber/erlcloud
  1204. pkg_erlcloud_fetch = git
  1205. pkg_erlcloud_repo = https://github.com/gleber/erlcloud
  1206. pkg_erlcloud_commit = master
  1207. PACKAGES += erlcron
  1208. pkg_erlcron_name = erlcron
  1209. pkg_erlcron_description = Erlang cronish system
  1210. pkg_erlcron_homepage = https://github.com/erlware/erlcron
  1211. pkg_erlcron_fetch = git
  1212. pkg_erlcron_repo = https://github.com/erlware/erlcron
  1213. pkg_erlcron_commit = master
  1214. PACKAGES += erldb
  1215. pkg_erldb_name = erldb
  1216. pkg_erldb_description = ORM (Object-relational mapping) application implemented in Erlang
  1217. pkg_erldb_homepage = http://erldb.org
  1218. pkg_erldb_fetch = git
  1219. pkg_erldb_repo = https://github.com/erldb/erldb
  1220. pkg_erldb_commit = master
  1221. PACKAGES += erldis
  1222. pkg_erldis_name = erldis
  1223. pkg_erldis_description = redis erlang client library
  1224. pkg_erldis_homepage = https://github.com/cstar/erldis
  1225. pkg_erldis_fetch = git
  1226. pkg_erldis_repo = https://github.com/cstar/erldis
  1227. pkg_erldis_commit = master
  1228. PACKAGES += erldns
  1229. pkg_erldns_name = erldns
  1230. pkg_erldns_description = DNS server, in erlang.
  1231. pkg_erldns_homepage = https://github.com/aetrion/erl-dns
  1232. pkg_erldns_fetch = git
  1233. pkg_erldns_repo = https://github.com/aetrion/erl-dns
  1234. pkg_erldns_commit = master
  1235. PACKAGES += erldocker
  1236. pkg_erldocker_name = erldocker
  1237. pkg_erldocker_description = Docker Remote API client for Erlang
  1238. pkg_erldocker_homepage = https://github.com/proger/erldocker
  1239. pkg_erldocker_fetch = git
  1240. pkg_erldocker_repo = https://github.com/proger/erldocker
  1241. pkg_erldocker_commit = master
  1242. PACKAGES += erlfsmon
  1243. pkg_erlfsmon_name = erlfsmon
  1244. pkg_erlfsmon_description = Erlang filesystem event watcher for Linux and OSX
  1245. pkg_erlfsmon_homepage = https://github.com/proger/erlfsmon
  1246. pkg_erlfsmon_fetch = git
  1247. pkg_erlfsmon_repo = https://github.com/proger/erlfsmon
  1248. pkg_erlfsmon_commit = master
  1249. PACKAGES += erlgit
  1250. pkg_erlgit_name = erlgit
  1251. pkg_erlgit_description = Erlang convenience wrapper around git executable
  1252. pkg_erlgit_homepage = https://github.com/gleber/erlgit
  1253. pkg_erlgit_fetch = git
  1254. pkg_erlgit_repo = https://github.com/gleber/erlgit
  1255. pkg_erlgit_commit = master
  1256. PACKAGES += erlguten
  1257. pkg_erlguten_name = erlguten
  1258. pkg_erlguten_description = ErlGuten is a system for high-quality typesetting, written purely in Erlang.
  1259. pkg_erlguten_homepage = https://github.com/richcarl/erlguten
  1260. pkg_erlguten_fetch = git
  1261. pkg_erlguten_repo = https://github.com/richcarl/erlguten
  1262. pkg_erlguten_commit = master
  1263. PACKAGES += erlmc
  1264. pkg_erlmc_name = erlmc
  1265. pkg_erlmc_description = Erlang memcached binary protocol client
  1266. pkg_erlmc_homepage = https://github.com/jkvor/erlmc
  1267. pkg_erlmc_fetch = git
  1268. pkg_erlmc_repo = https://github.com/jkvor/erlmc
  1269. pkg_erlmc_commit = master
  1270. PACKAGES += erlmongo
  1271. pkg_erlmongo_name = erlmongo
  1272. pkg_erlmongo_description = Record based Erlang driver for MongoDB with gridfs support
  1273. pkg_erlmongo_homepage = https://github.com/SergejJurecko/erlmongo
  1274. pkg_erlmongo_fetch = git
  1275. pkg_erlmongo_repo = https://github.com/SergejJurecko/erlmongo
  1276. pkg_erlmongo_commit = master
  1277. PACKAGES += erlog
  1278. pkg_erlog_name = erlog
  1279. pkg_erlog_description = Prolog interpreter in and for Erlang
  1280. pkg_erlog_homepage = https://github.com/rvirding/erlog
  1281. pkg_erlog_fetch = git
  1282. pkg_erlog_repo = https://github.com/rvirding/erlog
  1283. pkg_erlog_commit = master
  1284. PACKAGES += erlpass
  1285. pkg_erlpass_name = erlpass
  1286. pkg_erlpass_description = A library to handle password hashing and changing in a safe manner, independent from any kind of storage whatsoever.
  1287. pkg_erlpass_homepage = https://github.com/ferd/erlpass
  1288. pkg_erlpass_fetch = git
  1289. pkg_erlpass_repo = https://github.com/ferd/erlpass
  1290. pkg_erlpass_commit = master
  1291. PACKAGES += erlport
  1292. pkg_erlport_name = erlport
  1293. pkg_erlport_description = ErlPort - connect Erlang to other languages
  1294. pkg_erlport_homepage = https://github.com/hdima/erlport
  1295. pkg_erlport_fetch = git
  1296. pkg_erlport_repo = https://github.com/hdima/erlport
  1297. pkg_erlport_commit = master
  1298. PACKAGES += erlsh
  1299. pkg_erlsh_name = erlsh
  1300. pkg_erlsh_description = Erlang shell tools
  1301. pkg_erlsh_homepage = https://github.com/proger/erlsh
  1302. pkg_erlsh_fetch = git
  1303. pkg_erlsh_repo = https://github.com/proger/erlsh
  1304. pkg_erlsh_commit = master
  1305. PACKAGES += erlsha2
  1306. pkg_erlsha2_name = erlsha2
  1307. pkg_erlsha2_description = SHA-224, SHA-256, SHA-384, SHA-512 implemented in Erlang NIFs.
  1308. pkg_erlsha2_homepage = https://github.com/vinoski/erlsha2
  1309. pkg_erlsha2_fetch = git
  1310. pkg_erlsha2_repo = https://github.com/vinoski/erlsha2
  1311. pkg_erlsha2_commit = master
  1312. PACKAGES += erlsom
  1313. pkg_erlsom_name = erlsom
  1314. pkg_erlsom_description = XML parser for Erlang
  1315. pkg_erlsom_homepage = https://github.com/willemdj/erlsom
  1316. pkg_erlsom_fetch = git
  1317. pkg_erlsom_repo = https://github.com/willemdj/erlsom
  1318. pkg_erlsom_commit = master
  1319. PACKAGES += erlubi
  1320. pkg_erlubi_name = erlubi
  1321. pkg_erlubi_description = Ubigraph Erlang Client (and Process Visualizer)
  1322. pkg_erlubi_homepage = https://github.com/krestenkrab/erlubi
  1323. pkg_erlubi_fetch = git
  1324. pkg_erlubi_repo = https://github.com/krestenkrab/erlubi
  1325. pkg_erlubi_commit = master
  1326. PACKAGES += erlvolt
  1327. pkg_erlvolt_name = erlvolt
  1328. pkg_erlvolt_description = VoltDB Erlang Client Driver
  1329. pkg_erlvolt_homepage = https://github.com/VoltDB/voltdb-client-erlang
  1330. pkg_erlvolt_fetch = git
  1331. pkg_erlvolt_repo = https://github.com/VoltDB/voltdb-client-erlang
  1332. pkg_erlvolt_commit = master
  1333. PACKAGES += erlware_commons
  1334. pkg_erlware_commons_name = erlware_commons
  1335. pkg_erlware_commons_description = Erlware Commons is an Erlware project focused on all aspects of reusable Erlang components.
  1336. pkg_erlware_commons_homepage = https://github.com/erlware/erlware_commons
  1337. pkg_erlware_commons_fetch = git
  1338. pkg_erlware_commons_repo = https://github.com/erlware/erlware_commons
  1339. pkg_erlware_commons_commit = master
  1340. PACKAGES += erlydtl
  1341. pkg_erlydtl_name = erlydtl
  1342. pkg_erlydtl_description = Django Template Language for Erlang.
  1343. pkg_erlydtl_homepage = https://github.com/erlydtl/erlydtl
  1344. pkg_erlydtl_fetch = git
  1345. pkg_erlydtl_repo = https://github.com/erlydtl/erlydtl
  1346. pkg_erlydtl_commit = master
  1347. PACKAGES += errd
  1348. pkg_errd_name = errd
  1349. pkg_errd_description = Erlang RRDTool library
  1350. pkg_errd_homepage = https://github.com/archaelus/errd
  1351. pkg_errd_fetch = git
  1352. pkg_errd_repo = https://github.com/archaelus/errd
  1353. pkg_errd_commit = master
  1354. PACKAGES += erserve
  1355. pkg_erserve_name = erserve
  1356. pkg_erserve_description = Erlang/Rserve communication interface
  1357. pkg_erserve_homepage = https://github.com/del/erserve
  1358. pkg_erserve_fetch = git
  1359. pkg_erserve_repo = https://github.com/del/erserve
  1360. pkg_erserve_commit = master
  1361. PACKAGES += erwa
  1362. pkg_erwa_name = erwa
  1363. pkg_erwa_description = A WAMP router and client written in Erlang.
  1364. pkg_erwa_homepage = https://github.com/bwegh/erwa
  1365. pkg_erwa_fetch = git
  1366. pkg_erwa_repo = https://github.com/bwegh/erwa
  1367. pkg_erwa_commit = master
  1368. PACKAGES += escalus
  1369. pkg_escalus_name = escalus
  1370. pkg_escalus_description = An XMPP client library in Erlang for conveniently testing XMPP servers
  1371. pkg_escalus_homepage = https://github.com/esl/escalus
  1372. pkg_escalus_fetch = git
  1373. pkg_escalus_repo = https://github.com/esl/escalus
  1374. pkg_escalus_commit = master
  1375. PACKAGES += espec
  1376. pkg_espec_name = espec
  1377. pkg_espec_description = ESpec: Behaviour driven development framework for Erlang
  1378. pkg_espec_homepage = https://github.com/lucaspiller/espec
  1379. pkg_espec_fetch = git
  1380. pkg_espec_repo = https://github.com/lucaspiller/espec
  1381. pkg_espec_commit = master
  1382. PACKAGES += estatsd
  1383. pkg_estatsd_name = estatsd
  1384. pkg_estatsd_description = Erlang stats aggregation app that periodically flushes data to graphite
  1385. pkg_estatsd_homepage = https://github.com/RJ/estatsd
  1386. pkg_estatsd_fetch = git
  1387. pkg_estatsd_repo = https://github.com/RJ/estatsd
  1388. pkg_estatsd_commit = master
  1389. PACKAGES += etap
  1390. pkg_etap_name = etap
  1391. pkg_etap_description = etap is a simple erlang testing library that provides TAP compliant output.
  1392. pkg_etap_homepage = https://github.com/ngerakines/etap
  1393. pkg_etap_fetch = git
  1394. pkg_etap_repo = https://github.com/ngerakines/etap
  1395. pkg_etap_commit = master
  1396. PACKAGES += etest
  1397. pkg_etest_name = etest
  1398. pkg_etest_description = A lightweight, convention over configuration test framework for Erlang
  1399. pkg_etest_homepage = https://github.com/wooga/etest
  1400. pkg_etest_fetch = git
  1401. pkg_etest_repo = https://github.com/wooga/etest
  1402. pkg_etest_commit = master
  1403. PACKAGES += etest_http
  1404. pkg_etest_http_name = etest_http
  1405. pkg_etest_http_description = etest Assertions around HTTP (client-side)
  1406. pkg_etest_http_homepage = https://github.com/wooga/etest_http
  1407. pkg_etest_http_fetch = git
  1408. pkg_etest_http_repo = https://github.com/wooga/etest_http
  1409. pkg_etest_http_commit = master
  1410. PACKAGES += etoml
  1411. pkg_etoml_name = etoml
  1412. pkg_etoml_description = TOML language erlang parser
  1413. pkg_etoml_homepage = https://github.com/kalta/etoml
  1414. pkg_etoml_fetch = git
  1415. pkg_etoml_repo = https://github.com/kalta/etoml
  1416. pkg_etoml_commit = master
  1417. PACKAGES += eunit
  1418. pkg_eunit_name = eunit
  1419. pkg_eunit_description = The EUnit lightweight unit testing framework for Erlang - this is the canonical development repository.
  1420. pkg_eunit_homepage = https://github.com/richcarl/eunit
  1421. pkg_eunit_fetch = git
  1422. pkg_eunit_repo = https://github.com/richcarl/eunit
  1423. pkg_eunit_commit = master
  1424. PACKAGES += eunit_formatters
  1425. pkg_eunit_formatters_name = eunit_formatters
  1426. pkg_eunit_formatters_description = Because eunit's output sucks. Let's make it better.
  1427. pkg_eunit_formatters_homepage = https://github.com/seancribbs/eunit_formatters
  1428. pkg_eunit_formatters_fetch = git
  1429. pkg_eunit_formatters_repo = https://github.com/seancribbs/eunit_formatters
  1430. pkg_eunit_formatters_commit = master
  1431. PACKAGES += euthanasia
  1432. pkg_euthanasia_name = euthanasia
  1433. pkg_euthanasia_description = Merciful killer for your Erlang processes
  1434. pkg_euthanasia_homepage = https://github.com/doubleyou/euthanasia
  1435. pkg_euthanasia_fetch = git
  1436. pkg_euthanasia_repo = https://github.com/doubleyou/euthanasia
  1437. pkg_euthanasia_commit = master
  1438. PACKAGES += evum
  1439. pkg_evum_name = evum
  1440. pkg_evum_description = Spawn Linux VMs as Erlang processes in the Erlang VM
  1441. pkg_evum_homepage = https://github.com/msantos/evum
  1442. pkg_evum_fetch = git
  1443. pkg_evum_repo = https://github.com/msantos/evum
  1444. pkg_evum_commit = master
  1445. PACKAGES += exec
  1446. pkg_exec_name = erlexec
  1447. pkg_exec_description = Execute and control OS processes from Erlang/OTP.
  1448. pkg_exec_homepage = http://saleyn.github.com/erlexec
  1449. pkg_exec_fetch = git
  1450. pkg_exec_repo = https://github.com/saleyn/erlexec
  1451. pkg_exec_commit = master
  1452. PACKAGES += exml
  1453. pkg_exml_name = exml
  1454. pkg_exml_description = XML parsing library in Erlang
  1455. pkg_exml_homepage = https://github.com/paulgray/exml
  1456. pkg_exml_fetch = git
  1457. pkg_exml_repo = https://github.com/paulgray/exml
  1458. pkg_exml_commit = master
  1459. PACKAGES += exometer
  1460. pkg_exometer_name = exometer
  1461. pkg_exometer_description = Basic measurement objects and probe behavior
  1462. pkg_exometer_homepage = https://github.com/Feuerlabs/exometer
  1463. pkg_exometer_fetch = git
  1464. pkg_exometer_repo = https://github.com/Feuerlabs/exometer
  1465. pkg_exometer_commit = master
  1466. PACKAGES += exs1024
  1467. pkg_exs1024_name = exs1024
  1468. pkg_exs1024_description = Xorshift1024star pseudo random number generator for Erlang.
  1469. pkg_exs1024_homepage = https://github.com/jj1bdx/exs1024
  1470. pkg_exs1024_fetch = git
  1471. pkg_exs1024_repo = https://github.com/jj1bdx/exs1024
  1472. pkg_exs1024_commit = master
  1473. PACKAGES += exs64
  1474. pkg_exs64_name = exs64
  1475. pkg_exs64_description = Xorshift64star pseudo random number generator for Erlang.
  1476. pkg_exs64_homepage = https://github.com/jj1bdx/exs64
  1477. pkg_exs64_fetch = git
  1478. pkg_exs64_repo = https://github.com/jj1bdx/exs64
  1479. pkg_exs64_commit = master
  1480. PACKAGES += exsplus116
  1481. pkg_exsplus116_name = exsplus116
  1482. pkg_exsplus116_description = Xorshift116plus for Erlang
  1483. pkg_exsplus116_homepage = https://github.com/jj1bdx/exsplus116
  1484. pkg_exsplus116_fetch = git
  1485. pkg_exsplus116_repo = https://github.com/jj1bdx/exsplus116
  1486. pkg_exsplus116_commit = master
  1487. PACKAGES += exsplus128
  1488. pkg_exsplus128_name = exsplus128
  1489. pkg_exsplus128_description = Xorshift128plus pseudo random number generator for Erlang.
  1490. pkg_exsplus128_homepage = https://github.com/jj1bdx/exsplus128
  1491. pkg_exsplus128_fetch = git
  1492. pkg_exsplus128_repo = https://github.com/jj1bdx/exsplus128
  1493. pkg_exsplus128_commit = master
  1494. PACKAGES += ezmq
  1495. pkg_ezmq_name = ezmq
  1496. pkg_ezmq_description = zMQ implemented in Erlang
  1497. pkg_ezmq_homepage = https://github.com/RoadRunnr/ezmq
  1498. pkg_ezmq_fetch = git
  1499. pkg_ezmq_repo = https://github.com/RoadRunnr/ezmq
  1500. pkg_ezmq_commit = master
  1501. PACKAGES += ezmtp
  1502. pkg_ezmtp_name = ezmtp
  1503. pkg_ezmtp_description = ZMTP protocol in pure Erlang.
  1504. pkg_ezmtp_homepage = https://github.com/a13x/ezmtp
  1505. pkg_ezmtp_fetch = git
  1506. pkg_ezmtp_repo = https://github.com/a13x/ezmtp
  1507. pkg_ezmtp_commit = master
  1508. PACKAGES += fast_disk_log
  1509. pkg_fast_disk_log_name = fast_disk_log
  1510. pkg_fast_disk_log_description = Pool-based asynchronous Erlang disk logger
  1511. pkg_fast_disk_log_homepage = https://github.com/lpgauth/fast_disk_log
  1512. pkg_fast_disk_log_fetch = git
  1513. pkg_fast_disk_log_repo = https://github.com/lpgauth/fast_disk_log
  1514. pkg_fast_disk_log_commit = master
  1515. PACKAGES += feeder
  1516. pkg_feeder_name = feeder
  1517. pkg_feeder_description = Stream parse RSS and Atom formatted XML feeds.
  1518. pkg_feeder_homepage = https://github.com/michaelnisi/feeder
  1519. pkg_feeder_fetch = git
  1520. pkg_feeder_repo = https://github.com/michaelnisi/feeder
  1521. pkg_feeder_commit = master
  1522. PACKAGES += find_crate
  1523. pkg_find_crate_name = find_crate
  1524. pkg_find_crate_description = Find Rust libs and exes in Erlang application priv directory
  1525. pkg_find_crate_homepage = https://github.com/goertzenator/find_crate
  1526. pkg_find_crate_fetch = git
  1527. pkg_find_crate_repo = https://github.com/goertzenator/find_crate
  1528. pkg_find_crate_commit = master
  1529. PACKAGES += fix
  1530. pkg_fix_name = fix
  1531. pkg_fix_description = http://fixprotocol.org/ implementation.
  1532. pkg_fix_homepage = https://github.com/maxlapshin/fix
  1533. pkg_fix_fetch = git
  1534. pkg_fix_repo = https://github.com/maxlapshin/fix
  1535. pkg_fix_commit = master
  1536. PACKAGES += flower
  1537. pkg_flower_name = flower
  1538. pkg_flower_description = FlowER - a Erlang OpenFlow development platform
  1539. pkg_flower_homepage = https://github.com/travelping/flower
  1540. pkg_flower_fetch = git
  1541. pkg_flower_repo = https://github.com/travelping/flower
  1542. pkg_flower_commit = master
  1543. PACKAGES += fn
  1544. pkg_fn_name = fn
  1545. pkg_fn_description = Function utilities for Erlang
  1546. pkg_fn_homepage = https://github.com/reiddraper/fn
  1547. pkg_fn_fetch = git
  1548. pkg_fn_repo = https://github.com/reiddraper/fn
  1549. pkg_fn_commit = master
  1550. PACKAGES += folsom
  1551. pkg_folsom_name = folsom
  1552. pkg_folsom_description = Expose Erlang Events and Metrics
  1553. pkg_folsom_homepage = https://github.com/boundary/folsom
  1554. pkg_folsom_fetch = git
  1555. pkg_folsom_repo = https://github.com/boundary/folsom
  1556. pkg_folsom_commit = master
  1557. PACKAGES += folsom_cowboy
  1558. pkg_folsom_cowboy_name = folsom_cowboy
  1559. pkg_folsom_cowboy_description = A Cowboy based Folsom HTTP Wrapper.
  1560. pkg_folsom_cowboy_homepage = https://github.com/boundary/folsom_cowboy
  1561. pkg_folsom_cowboy_fetch = git
  1562. pkg_folsom_cowboy_repo = https://github.com/boundary/folsom_cowboy
  1563. pkg_folsom_cowboy_commit = master
  1564. PACKAGES += folsomite
  1565. pkg_folsomite_name = folsomite
  1566. pkg_folsomite_description = blow up your graphite / riemann server with folsom metrics
  1567. pkg_folsomite_homepage = https://github.com/campanja/folsomite
  1568. pkg_folsomite_fetch = git
  1569. pkg_folsomite_repo = https://github.com/campanja/folsomite
  1570. pkg_folsomite_commit = master
  1571. PACKAGES += fs
  1572. pkg_fs_name = fs
  1573. pkg_fs_description = Erlang FileSystem Listener
  1574. pkg_fs_homepage = https://github.com/synrc/fs
  1575. pkg_fs_fetch = git
  1576. pkg_fs_repo = https://github.com/synrc/fs
  1577. pkg_fs_commit = master
  1578. PACKAGES += fuse
  1579. pkg_fuse_name = fuse
  1580. pkg_fuse_description = A Circuit Breaker for Erlang
  1581. pkg_fuse_homepage = https://github.com/jlouis/fuse
  1582. pkg_fuse_fetch = git
  1583. pkg_fuse_repo = https://github.com/jlouis/fuse
  1584. pkg_fuse_commit = master
  1585. PACKAGES += gcm
  1586. pkg_gcm_name = gcm
  1587. pkg_gcm_description = An Erlang application for Google Cloud Messaging
  1588. pkg_gcm_homepage = https://github.com/pdincau/gcm-erlang
  1589. pkg_gcm_fetch = git
  1590. pkg_gcm_repo = https://github.com/pdincau/gcm-erlang
  1591. pkg_gcm_commit = master
  1592. PACKAGES += gcprof
  1593. pkg_gcprof_name = gcprof
  1594. pkg_gcprof_description = Garbage Collection profiler for Erlang
  1595. pkg_gcprof_homepage = https://github.com/knutin/gcprof
  1596. pkg_gcprof_fetch = git
  1597. pkg_gcprof_repo = https://github.com/knutin/gcprof
  1598. pkg_gcprof_commit = master
  1599. PACKAGES += geas
  1600. pkg_geas_name = geas
  1601. pkg_geas_description = Guess Erlang Application Scattering
  1602. pkg_geas_homepage = https://github.com/crownedgrouse/geas
  1603. pkg_geas_fetch = git
  1604. pkg_geas_repo = https://github.com/crownedgrouse/geas
  1605. pkg_geas_commit = master
  1606. PACKAGES += geef
  1607. pkg_geef_name = geef
  1608. pkg_geef_description = Git NEEEEF (Erlang NIF)
  1609. pkg_geef_homepage = https://github.com/carlosmn/geef
  1610. pkg_geef_fetch = git
  1611. pkg_geef_repo = https://github.com/carlosmn/geef
  1612. pkg_geef_commit = master
  1613. PACKAGES += gen_coap
  1614. pkg_gen_coap_name = gen_coap
  1615. pkg_gen_coap_description = Generic Erlang CoAP Client/Server
  1616. pkg_gen_coap_homepage = https://github.com/gotthardp/gen_coap
  1617. pkg_gen_coap_fetch = git
  1618. pkg_gen_coap_repo = https://github.com/gotthardp/gen_coap
  1619. pkg_gen_coap_commit = master
  1620. PACKAGES += gen_cycle
  1621. pkg_gen_cycle_name = gen_cycle
  1622. pkg_gen_cycle_description = Simple, generic OTP behaviour for recurring tasks
  1623. pkg_gen_cycle_homepage = https://github.com/aerosol/gen_cycle
  1624. pkg_gen_cycle_fetch = git
  1625. pkg_gen_cycle_repo = https://github.com/aerosol/gen_cycle
  1626. pkg_gen_cycle_commit = develop
  1627. PACKAGES += gen_icmp
  1628. pkg_gen_icmp_name = gen_icmp
  1629. pkg_gen_icmp_description = Erlang interface to ICMP sockets
  1630. pkg_gen_icmp_homepage = https://github.com/msantos/gen_icmp
  1631. pkg_gen_icmp_fetch = git
  1632. pkg_gen_icmp_repo = https://github.com/msantos/gen_icmp
  1633. pkg_gen_icmp_commit = master
  1634. PACKAGES += gen_nb_server
  1635. pkg_gen_nb_server_name = gen_nb_server
  1636. pkg_gen_nb_server_description = OTP behavior for writing non-blocking servers
  1637. pkg_gen_nb_server_homepage = https://github.com/kevsmith/gen_nb_server
  1638. pkg_gen_nb_server_fetch = git
  1639. pkg_gen_nb_server_repo = https://github.com/kevsmith/gen_nb_server
  1640. pkg_gen_nb_server_commit = master
  1641. PACKAGES += gen_paxos
  1642. pkg_gen_paxos_name = gen_paxos
  1643. pkg_gen_paxos_description = An Erlang/OTP-style implementation of the PAXOS distributed consensus protocol
  1644. pkg_gen_paxos_homepage = https://github.com/gburd/gen_paxos
  1645. pkg_gen_paxos_fetch = git
  1646. pkg_gen_paxos_repo = https://github.com/gburd/gen_paxos
  1647. pkg_gen_paxos_commit = master
  1648. PACKAGES += gen_smtp
  1649. pkg_gen_smtp_name = gen_smtp
  1650. pkg_gen_smtp_description = A generic Erlang SMTP server and client that can be extended via callback modules
  1651. pkg_gen_smtp_homepage = https://github.com/Vagabond/gen_smtp
  1652. pkg_gen_smtp_fetch = git
  1653. pkg_gen_smtp_repo = https://github.com/Vagabond/gen_smtp
  1654. pkg_gen_smtp_commit = master
  1655. PACKAGES += gen_tracker
  1656. pkg_gen_tracker_name = gen_tracker
  1657. pkg_gen_tracker_description = supervisor with ets handling of children and their metadata
  1658. pkg_gen_tracker_homepage = https://github.com/erlyvideo/gen_tracker
  1659. pkg_gen_tracker_fetch = git
  1660. pkg_gen_tracker_repo = https://github.com/erlyvideo/gen_tracker
  1661. pkg_gen_tracker_commit = master
  1662. PACKAGES += gen_unix
  1663. pkg_gen_unix_name = gen_unix
  1664. pkg_gen_unix_description = Erlang Unix socket interface
  1665. pkg_gen_unix_homepage = https://github.com/msantos/gen_unix
  1666. pkg_gen_unix_fetch = git
  1667. pkg_gen_unix_repo = https://github.com/msantos/gen_unix
  1668. pkg_gen_unix_commit = master
  1669. PACKAGES += geode
  1670. pkg_geode_name = geode
  1671. pkg_geode_description = geohash/proximity lookup in pure, uncut erlang.
  1672. pkg_geode_homepage = https://github.com/bradfordw/geode
  1673. pkg_geode_fetch = git
  1674. pkg_geode_repo = https://github.com/bradfordw/geode
  1675. pkg_geode_commit = master
  1676. PACKAGES += getopt
  1677. pkg_getopt_name = getopt
  1678. pkg_getopt_description = Module to parse command line arguments using the GNU getopt syntax
  1679. pkg_getopt_homepage = https://github.com/jcomellas/getopt
  1680. pkg_getopt_fetch = git
  1681. pkg_getopt_repo = https://github.com/jcomellas/getopt
  1682. pkg_getopt_commit = master
  1683. PACKAGES += gettext
  1684. pkg_gettext_name = gettext
  1685. pkg_gettext_description = Erlang internationalization library.
  1686. pkg_gettext_homepage = https://github.com/etnt/gettext
  1687. pkg_gettext_fetch = git
  1688. pkg_gettext_repo = https://github.com/etnt/gettext
  1689. pkg_gettext_commit = master
  1690. PACKAGES += giallo
  1691. pkg_giallo_name = giallo
  1692. pkg_giallo_description = Small and flexible web framework on top of Cowboy
  1693. pkg_giallo_homepage = https://github.com/kivra/giallo
  1694. pkg_giallo_fetch = git
  1695. pkg_giallo_repo = https://github.com/kivra/giallo
  1696. pkg_giallo_commit = master
  1697. PACKAGES += gin
  1698. pkg_gin_name = gin
  1699. pkg_gin_description = The guards and for Erlang parse_transform
  1700. pkg_gin_homepage = https://github.com/mad-cocktail/gin
  1701. pkg_gin_fetch = git
  1702. pkg_gin_repo = https://github.com/mad-cocktail/gin
  1703. pkg_gin_commit = master
  1704. PACKAGES += gitty
  1705. pkg_gitty_name = gitty
  1706. pkg_gitty_description = Git access in erlang
  1707. pkg_gitty_homepage = https://github.com/maxlapshin/gitty
  1708. pkg_gitty_fetch = git
  1709. pkg_gitty_repo = https://github.com/maxlapshin/gitty
  1710. pkg_gitty_commit = master
  1711. PACKAGES += gold_fever
  1712. pkg_gold_fever_name = gold_fever
  1713. pkg_gold_fever_description = A Treasure Hunt for Erlangers
  1714. pkg_gold_fever_homepage = https://github.com/inaka/gold_fever
  1715. pkg_gold_fever_fetch = git
  1716. pkg_gold_fever_repo = https://github.com/inaka/gold_fever
  1717. pkg_gold_fever_commit = master
  1718. PACKAGES += gossiperl
  1719. pkg_gossiperl_name = gossiperl
  1720. pkg_gossiperl_description = Gossip middleware in Erlang
  1721. pkg_gossiperl_homepage = http://gossiperl.com/
  1722. pkg_gossiperl_fetch = git
  1723. pkg_gossiperl_repo = https://github.com/gossiperl/gossiperl
  1724. pkg_gossiperl_commit = master
  1725. PACKAGES += gpb
  1726. pkg_gpb_name = gpb
  1727. pkg_gpb_description = A Google Protobuf implementation for Erlang
  1728. pkg_gpb_homepage = https://github.com/tomas-abrahamsson/gpb
  1729. pkg_gpb_fetch = git
  1730. pkg_gpb_repo = https://github.com/tomas-abrahamsson/gpb
  1731. pkg_gpb_commit = master
  1732. PACKAGES += gproc
  1733. pkg_gproc_name = gproc
  1734. pkg_gproc_description = Extended process registry for Erlang
  1735. pkg_gproc_homepage = https://github.com/uwiger/gproc
  1736. pkg_gproc_fetch = git
  1737. pkg_gproc_repo = https://github.com/uwiger/gproc
  1738. pkg_gproc_commit = master
  1739. PACKAGES += grapherl
  1740. pkg_grapherl_name = grapherl
  1741. pkg_grapherl_description = Create graphs of Erlang systems and programs
  1742. pkg_grapherl_homepage = https://github.com/eproxus/grapherl
  1743. pkg_grapherl_fetch = git
  1744. pkg_grapherl_repo = https://github.com/eproxus/grapherl
  1745. pkg_grapherl_commit = master
  1746. PACKAGES += gun
  1747. pkg_gun_name = gun
  1748. pkg_gun_description = Asynchronous SPDY, HTTP and Websocket client written in Erlang.
  1749. pkg_gun_homepage = http//ninenines.eu
  1750. pkg_gun_fetch = git
  1751. pkg_gun_repo = https://github.com/ninenines/gun
  1752. pkg_gun_commit = master
  1753. PACKAGES += gut
  1754. pkg_gut_name = gut
  1755. pkg_gut_description = gut is a template printing, aka scaffolding, tool for Erlang. Like rails generate or yeoman
  1756. pkg_gut_homepage = https://github.com/unbalancedparentheses/gut
  1757. pkg_gut_fetch = git
  1758. pkg_gut_repo = https://github.com/unbalancedparentheses/gut
  1759. pkg_gut_commit = master
  1760. PACKAGES += hackney
  1761. pkg_hackney_name = hackney
  1762. pkg_hackney_description = simple HTTP client in Erlang
  1763. pkg_hackney_homepage = https://github.com/benoitc/hackney
  1764. pkg_hackney_fetch = git
  1765. pkg_hackney_repo = https://github.com/benoitc/hackney
  1766. pkg_hackney_commit = master
  1767. PACKAGES += hamcrest
  1768. pkg_hamcrest_name = hamcrest
  1769. pkg_hamcrest_description = Erlang port of Hamcrest
  1770. pkg_hamcrest_homepage = https://github.com/hyperthunk/hamcrest-erlang
  1771. pkg_hamcrest_fetch = git
  1772. pkg_hamcrest_repo = https://github.com/hyperthunk/hamcrest-erlang
  1773. pkg_hamcrest_commit = master
  1774. PACKAGES += hanoidb
  1775. pkg_hanoidb_name = hanoidb
  1776. pkg_hanoidb_description = Erlang LSM BTree Storage
  1777. pkg_hanoidb_homepage = https://github.com/krestenkrab/hanoidb
  1778. pkg_hanoidb_fetch = git
  1779. pkg_hanoidb_repo = https://github.com/krestenkrab/hanoidb
  1780. pkg_hanoidb_commit = master
  1781. PACKAGES += hottub
  1782. pkg_hottub_name = hottub
  1783. pkg_hottub_description = Permanent Erlang Worker Pool
  1784. pkg_hottub_homepage = https://github.com/bfrog/hottub
  1785. pkg_hottub_fetch = git
  1786. pkg_hottub_repo = https://github.com/bfrog/hottub
  1787. pkg_hottub_commit = master
  1788. PACKAGES += hpack
  1789. pkg_hpack_name = hpack
  1790. pkg_hpack_description = HPACK Implementation for Erlang
  1791. pkg_hpack_homepage = https://github.com/joedevivo/hpack
  1792. pkg_hpack_fetch = git
  1793. pkg_hpack_repo = https://github.com/joedevivo/hpack
  1794. pkg_hpack_commit = master
  1795. PACKAGES += hyper
  1796. pkg_hyper_name = hyper
  1797. pkg_hyper_description = Erlang implementation of HyperLogLog
  1798. pkg_hyper_homepage = https://github.com/GameAnalytics/hyper
  1799. pkg_hyper_fetch = git
  1800. pkg_hyper_repo = https://github.com/GameAnalytics/hyper
  1801. pkg_hyper_commit = master
  1802. PACKAGES += i18n
  1803. pkg_i18n_name = i18n
  1804. pkg_i18n_description = International components for unicode from Erlang (unicode, date, string, number, format, locale, localization, transliteration, icu4e)
  1805. pkg_i18n_homepage = https://github.com/erlang-unicode/i18n
  1806. pkg_i18n_fetch = git
  1807. pkg_i18n_repo = https://github.com/erlang-unicode/i18n
  1808. pkg_i18n_commit = master
  1809. PACKAGES += ibrowse
  1810. pkg_ibrowse_name = ibrowse
  1811. pkg_ibrowse_description = Erlang HTTP client
  1812. pkg_ibrowse_homepage = https://github.com/cmullaparthi/ibrowse
  1813. pkg_ibrowse_fetch = git
  1814. pkg_ibrowse_repo = https://github.com/cmullaparthi/ibrowse
  1815. pkg_ibrowse_commit = master
  1816. PACKAGES += idna
  1817. pkg_idna_name = idna
  1818. pkg_idna_description = Erlang IDNA lib
  1819. pkg_idna_homepage = https://github.com/benoitc/erlang-idna
  1820. pkg_idna_fetch = git
  1821. pkg_idna_repo = https://github.com/benoitc/erlang-idna
  1822. pkg_idna_commit = master
  1823. PACKAGES += ierlang
  1824. pkg_ierlang_name = ierlang
  1825. pkg_ierlang_description = An Erlang language kernel for IPython.
  1826. pkg_ierlang_homepage = https://github.com/robbielynch/ierlang
  1827. pkg_ierlang_fetch = git
  1828. pkg_ierlang_repo = https://github.com/robbielynch/ierlang
  1829. pkg_ierlang_commit = master
  1830. PACKAGES += iota
  1831. pkg_iota_name = iota
  1832. pkg_iota_description = iota (Inter-dependency Objective Testing Apparatus) - a tool to enforce clean separation of responsibilities in Erlang code
  1833. pkg_iota_homepage = https://github.com/jpgneves/iota
  1834. pkg_iota_fetch = git
  1835. pkg_iota_repo = https://github.com/jpgneves/iota
  1836. pkg_iota_commit = master
  1837. PACKAGES += irc_lib
  1838. pkg_irc_lib_name = irc_lib
  1839. pkg_irc_lib_description = Erlang irc client library
  1840. pkg_irc_lib_homepage = https://github.com/OtpChatBot/irc_lib
  1841. pkg_irc_lib_fetch = git
  1842. pkg_irc_lib_repo = https://github.com/OtpChatBot/irc_lib
  1843. pkg_irc_lib_commit = master
  1844. PACKAGES += ircd
  1845. pkg_ircd_name = ircd
  1846. pkg_ircd_description = A pluggable IRC daemon application/library for Erlang.
  1847. pkg_ircd_homepage = https://github.com/tonyg/erlang-ircd
  1848. pkg_ircd_fetch = git
  1849. pkg_ircd_repo = https://github.com/tonyg/erlang-ircd
  1850. pkg_ircd_commit = master
  1851. PACKAGES += iris
  1852. pkg_iris_name = iris
  1853. pkg_iris_description = Iris Erlang binding
  1854. pkg_iris_homepage = https://github.com/project-iris/iris-erl
  1855. pkg_iris_fetch = git
  1856. pkg_iris_repo = https://github.com/project-iris/iris-erl
  1857. pkg_iris_commit = master
  1858. PACKAGES += iso8601
  1859. pkg_iso8601_name = iso8601
  1860. pkg_iso8601_description = Erlang ISO 8601 date formatter/parser
  1861. pkg_iso8601_homepage = https://github.com/seansawyer/erlang_iso8601
  1862. pkg_iso8601_fetch = git
  1863. pkg_iso8601_repo = https://github.com/seansawyer/erlang_iso8601
  1864. pkg_iso8601_commit = master
  1865. PACKAGES += jamdb_sybase
  1866. pkg_jamdb_sybase_name = jamdb_sybase
  1867. pkg_jamdb_sybase_description = Erlang driver for SAP Sybase ASE
  1868. pkg_jamdb_sybase_homepage = https://github.com/erlangbureau/jamdb_sybase
  1869. pkg_jamdb_sybase_fetch = git
  1870. pkg_jamdb_sybase_repo = https://github.com/erlangbureau/jamdb_sybase
  1871. pkg_jamdb_sybase_commit = master
  1872. PACKAGES += jerg
  1873. pkg_jerg_name = jerg
  1874. pkg_jerg_description = JSON Schema to Erlang Records Generator
  1875. pkg_jerg_homepage = https://github.com/ddossot/jerg
  1876. pkg_jerg_fetch = git
  1877. pkg_jerg_repo = https://github.com/ddossot/jerg
  1878. pkg_jerg_commit = master
  1879. PACKAGES += jesse
  1880. pkg_jesse_name = jesse
  1881. pkg_jesse_description = jesse (JSon Schema Erlang) is an implementation of a json schema validator for Erlang.
  1882. pkg_jesse_homepage = https://github.com/for-GET/jesse
  1883. pkg_jesse_fetch = git
  1884. pkg_jesse_repo = https://github.com/for-GET/jesse
  1885. pkg_jesse_commit = master
  1886. PACKAGES += jiffy
  1887. pkg_jiffy_name = jiffy
  1888. pkg_jiffy_description = JSON NIFs for Erlang.
  1889. pkg_jiffy_homepage = https://github.com/davisp/jiffy
  1890. pkg_jiffy_fetch = git
  1891. pkg_jiffy_repo = https://github.com/davisp/jiffy
  1892. pkg_jiffy_commit = master
  1893. PACKAGES += jiffy_v
  1894. pkg_jiffy_v_name = jiffy_v
  1895. pkg_jiffy_v_description = JSON validation utility
  1896. pkg_jiffy_v_homepage = https://github.com/shizzard/jiffy-v
  1897. pkg_jiffy_v_fetch = git
  1898. pkg_jiffy_v_repo = https://github.com/shizzard/jiffy-v
  1899. pkg_jiffy_v_commit = master
  1900. PACKAGES += jobs
  1901. pkg_jobs_name = jobs
  1902. pkg_jobs_description = a Job scheduler for load regulation
  1903. pkg_jobs_homepage = https://github.com/esl/jobs
  1904. pkg_jobs_fetch = git
  1905. pkg_jobs_repo = https://github.com/esl/jobs
  1906. pkg_jobs_commit = master
  1907. PACKAGES += joxa
  1908. pkg_joxa_name = joxa
  1909. pkg_joxa_description = A Modern Lisp for the Erlang VM
  1910. pkg_joxa_homepage = https://github.com/joxa/joxa
  1911. pkg_joxa_fetch = git
  1912. pkg_joxa_repo = https://github.com/joxa/joxa
  1913. pkg_joxa_commit = master
  1914. PACKAGES += json
  1915. pkg_json_name = json
  1916. pkg_json_description = a high level json library for erlang (17.0+)
  1917. pkg_json_homepage = https://github.com/talentdeficit/json
  1918. pkg_json_fetch = git
  1919. pkg_json_repo = https://github.com/talentdeficit/json
  1920. pkg_json_commit = master
  1921. PACKAGES += json_rec
  1922. pkg_json_rec_name = json_rec
  1923. pkg_json_rec_description = JSON to erlang record
  1924. pkg_json_rec_homepage = https://github.com/justinkirby/json_rec
  1925. pkg_json_rec_fetch = git
  1926. pkg_json_rec_repo = https://github.com/justinkirby/json_rec
  1927. pkg_json_rec_commit = master
  1928. PACKAGES += jsone
  1929. pkg_jsone_name = jsone
  1930. pkg_jsone_description = An Erlang library for encoding, decoding JSON data.
  1931. pkg_jsone_homepage = https://github.com/sile/jsone.git
  1932. pkg_jsone_fetch = git
  1933. pkg_jsone_repo = https://github.com/sile/jsone.git
  1934. pkg_jsone_commit = master
  1935. PACKAGES += jsonerl
  1936. pkg_jsonerl_name = jsonerl
  1937. pkg_jsonerl_description = yet another but slightly different erlang <-> json encoder/decoder
  1938. pkg_jsonerl_homepage = https://github.com/lambder/jsonerl
  1939. pkg_jsonerl_fetch = git
  1940. pkg_jsonerl_repo = https://github.com/lambder/jsonerl
  1941. pkg_jsonerl_commit = master
  1942. PACKAGES += jsonpath
  1943. pkg_jsonpath_name = jsonpath
  1944. pkg_jsonpath_description = Fast Erlang JSON data retrieval and updates via javascript-like notation
  1945. pkg_jsonpath_homepage = https://github.com/GeneStevens/jsonpath
  1946. pkg_jsonpath_fetch = git
  1947. pkg_jsonpath_repo = https://github.com/GeneStevens/jsonpath
  1948. pkg_jsonpath_commit = master
  1949. PACKAGES += jsonx
  1950. pkg_jsonx_name = jsonx
  1951. pkg_jsonx_description = JSONX is an Erlang library for efficient decode and encode JSON, written in C.
  1952. pkg_jsonx_homepage = https://github.com/iskra/jsonx
  1953. pkg_jsonx_fetch = git
  1954. pkg_jsonx_repo = https://github.com/iskra/jsonx
  1955. pkg_jsonx_commit = master
  1956. PACKAGES += jsx
  1957. pkg_jsx_name = jsx
  1958. pkg_jsx_description = An Erlang application for consuming, producing and manipulating JSON.
  1959. pkg_jsx_homepage = https://github.com/talentdeficit/jsx
  1960. pkg_jsx_fetch = git
  1961. pkg_jsx_repo = https://github.com/talentdeficit/jsx
  1962. pkg_jsx_commit = master
  1963. PACKAGES += kafka
  1964. pkg_kafka_name = kafka
  1965. pkg_kafka_description = Kafka consumer and producer in Erlang
  1966. pkg_kafka_homepage = https://github.com/wooga/kafka-erlang
  1967. pkg_kafka_fetch = git
  1968. pkg_kafka_repo = https://github.com/wooga/kafka-erlang
  1969. pkg_kafka_commit = master
  1970. PACKAGES += kafka_protocol
  1971. pkg_kafka_protocol_name = kafka_protocol
  1972. pkg_kafka_protocol_description = Kafka protocol Erlang library
  1973. pkg_kafka_protocol_homepage = https://github.com/klarna/kafka_protocol
  1974. pkg_kafka_protocol_fetch = git
  1975. pkg_kafka_protocol_repo = https://github.com/klarna/kafka_protocol.git
  1976. pkg_kafka_protocol_commit = master
  1977. PACKAGES += kai
  1978. pkg_kai_name = kai
  1979. pkg_kai_description = DHT storage by Takeshi Inoue
  1980. pkg_kai_homepage = https://github.com/synrc/kai
  1981. pkg_kai_fetch = git
  1982. pkg_kai_repo = https://github.com/synrc/kai
  1983. pkg_kai_commit = master
  1984. PACKAGES += katja
  1985. pkg_katja_name = katja
  1986. pkg_katja_description = A simple Riemann client written in Erlang.
  1987. pkg_katja_homepage = https://github.com/nifoc/katja
  1988. pkg_katja_fetch = git
  1989. pkg_katja_repo = https://github.com/nifoc/katja
  1990. pkg_katja_commit = master
  1991. PACKAGES += kdht
  1992. pkg_kdht_name = kdht
  1993. pkg_kdht_description = kdht is an erlang DHT implementation
  1994. pkg_kdht_homepage = https://github.com/kevinlynx/kdht
  1995. pkg_kdht_fetch = git
  1996. pkg_kdht_repo = https://github.com/kevinlynx/kdht
  1997. pkg_kdht_commit = master
  1998. PACKAGES += key2value
  1999. pkg_key2value_name = key2value
  2000. pkg_key2value_description = Erlang 2-way map
  2001. pkg_key2value_homepage = https://github.com/okeuday/key2value
  2002. pkg_key2value_fetch = git
  2003. pkg_key2value_repo = https://github.com/okeuday/key2value
  2004. pkg_key2value_commit = master
  2005. PACKAGES += keys1value
  2006. pkg_keys1value_name = keys1value
  2007. pkg_keys1value_description = Erlang set associative map for key lists
  2008. pkg_keys1value_homepage = https://github.com/okeuday/keys1value
  2009. pkg_keys1value_fetch = git
  2010. pkg_keys1value_repo = https://github.com/okeuday/keys1value
  2011. pkg_keys1value_commit = master
  2012. PACKAGES += kinetic
  2013. pkg_kinetic_name = kinetic
  2014. pkg_kinetic_description = Erlang Kinesis Client
  2015. pkg_kinetic_homepage = https://github.com/AdRoll/kinetic
  2016. pkg_kinetic_fetch = git
  2017. pkg_kinetic_repo = https://github.com/AdRoll/kinetic
  2018. pkg_kinetic_commit = master
  2019. PACKAGES += kjell
  2020. pkg_kjell_name = kjell
  2021. pkg_kjell_description = Erlang Shell
  2022. pkg_kjell_homepage = https://github.com/karlll/kjell
  2023. pkg_kjell_fetch = git
  2024. pkg_kjell_repo = https://github.com/karlll/kjell
  2025. pkg_kjell_commit = master
  2026. PACKAGES += kraken
  2027. pkg_kraken_name = kraken
  2028. pkg_kraken_description = Distributed Pubsub Server for Realtime Apps
  2029. pkg_kraken_homepage = https://github.com/Asana/kraken
  2030. pkg_kraken_fetch = git
  2031. pkg_kraken_repo = https://github.com/Asana/kraken
  2032. pkg_kraken_commit = master
  2033. PACKAGES += kucumberl
  2034. pkg_kucumberl_name = kucumberl
  2035. pkg_kucumberl_description = A pure-erlang, open-source, implementation of Cucumber
  2036. pkg_kucumberl_homepage = https://github.com/openshine/kucumberl
  2037. pkg_kucumberl_fetch = git
  2038. pkg_kucumberl_repo = https://github.com/openshine/kucumberl
  2039. pkg_kucumberl_commit = master
  2040. PACKAGES += kvc
  2041. pkg_kvc_name = kvc
  2042. pkg_kvc_description = KVC - Key Value Coding for Erlang data structures
  2043. pkg_kvc_homepage = https://github.com/etrepum/kvc
  2044. pkg_kvc_fetch = git
  2045. pkg_kvc_repo = https://github.com/etrepum/kvc
  2046. pkg_kvc_commit = master
  2047. PACKAGES += kvlists
  2048. pkg_kvlists_name = kvlists
  2049. pkg_kvlists_description = Lists of key-value pairs (decoded JSON) in Erlang
  2050. pkg_kvlists_homepage = https://github.com/jcomellas/kvlists
  2051. pkg_kvlists_fetch = git
  2052. pkg_kvlists_repo = https://github.com/jcomellas/kvlists
  2053. pkg_kvlists_commit = master
  2054. PACKAGES += kvs
  2055. pkg_kvs_name = kvs
  2056. pkg_kvs_description = Container and Iterator
  2057. pkg_kvs_homepage = https://github.com/synrc/kvs
  2058. pkg_kvs_fetch = git
  2059. pkg_kvs_repo = https://github.com/synrc/kvs
  2060. pkg_kvs_commit = master
  2061. PACKAGES += lager
  2062. pkg_lager_name = lager
  2063. pkg_lager_description = A logging framework for Erlang/OTP.
  2064. pkg_lager_homepage = https://github.com/erlang-lager/lager
  2065. pkg_lager_fetch = git
  2066. pkg_lager_repo = https://github.com/erlang-lager/lager
  2067. pkg_lager_commit = master
  2068. PACKAGES += lager_amqp_backend
  2069. pkg_lager_amqp_backend_name = lager_amqp_backend
  2070. pkg_lager_amqp_backend_description = AMQP RabbitMQ Lager backend
  2071. pkg_lager_amqp_backend_homepage = https://github.com/jbrisbin/lager_amqp_backend
  2072. pkg_lager_amqp_backend_fetch = git
  2073. pkg_lager_amqp_backend_repo = https://github.com/jbrisbin/lager_amqp_backend
  2074. pkg_lager_amqp_backend_commit = master
  2075. PACKAGES += lager_syslog
  2076. pkg_lager_syslog_name = lager_syslog
  2077. pkg_lager_syslog_description = Syslog backend for lager
  2078. pkg_lager_syslog_homepage = https://github.com/erlang-lager/lager_syslog
  2079. pkg_lager_syslog_fetch = git
  2080. pkg_lager_syslog_repo = https://github.com/erlang-lager/lager_syslog
  2081. pkg_lager_syslog_commit = master
  2082. PACKAGES += lambdapad
  2083. pkg_lambdapad_name = lambdapad
  2084. pkg_lambdapad_description = Static site generator using Erlang. Yes, Erlang.
  2085. pkg_lambdapad_homepage = https://github.com/gar1t/lambdapad
  2086. pkg_lambdapad_fetch = git
  2087. pkg_lambdapad_repo = https://github.com/gar1t/lambdapad
  2088. pkg_lambdapad_commit = master
  2089. PACKAGES += lasp
  2090. pkg_lasp_name = lasp
  2091. pkg_lasp_description = A Language for Distributed, Eventually Consistent Computations
  2092. pkg_lasp_homepage = http://lasp-lang.org/
  2093. pkg_lasp_fetch = git
  2094. pkg_lasp_repo = https://github.com/lasp-lang/lasp
  2095. pkg_lasp_commit = master
  2096. PACKAGES += lasse
  2097. pkg_lasse_name = lasse
  2098. pkg_lasse_description = SSE handler for Cowboy
  2099. pkg_lasse_homepage = https://github.com/inaka/lasse
  2100. pkg_lasse_fetch = git
  2101. pkg_lasse_repo = https://github.com/inaka/lasse
  2102. pkg_lasse_commit = master
  2103. PACKAGES += ldap
  2104. pkg_ldap_name = ldap
  2105. pkg_ldap_description = LDAP server written in Erlang
  2106. pkg_ldap_homepage = https://github.com/spawnproc/ldap
  2107. pkg_ldap_fetch = git
  2108. pkg_ldap_repo = https://github.com/spawnproc/ldap
  2109. pkg_ldap_commit = master
  2110. PACKAGES += lethink
  2111. pkg_lethink_name = lethink
  2112. pkg_lethink_description = erlang driver for rethinkdb
  2113. pkg_lethink_homepage = https://github.com/taybin/lethink
  2114. pkg_lethink_fetch = git
  2115. pkg_lethink_repo = https://github.com/taybin/lethink
  2116. pkg_lethink_commit = master
  2117. PACKAGES += lfe
  2118. pkg_lfe_name = lfe
  2119. pkg_lfe_description = Lisp Flavoured Erlang (LFE)
  2120. pkg_lfe_homepage = https://github.com/rvirding/lfe
  2121. pkg_lfe_fetch = git
  2122. pkg_lfe_repo = https://github.com/rvirding/lfe
  2123. pkg_lfe_commit = master
  2124. PACKAGES += ling
  2125. pkg_ling_name = ling
  2126. pkg_ling_description = Erlang on Xen
  2127. pkg_ling_homepage = https://github.com/cloudozer/ling
  2128. pkg_ling_fetch = git
  2129. pkg_ling_repo = https://github.com/cloudozer/ling
  2130. pkg_ling_commit = master
  2131. PACKAGES += live
  2132. pkg_live_name = live
  2133. pkg_live_description = Automated module and configuration reloader.
  2134. pkg_live_homepage = http://ninenines.eu
  2135. pkg_live_fetch = git
  2136. pkg_live_repo = https://github.com/ninenines/live
  2137. pkg_live_commit = master
  2138. PACKAGES += lmq
  2139. pkg_lmq_name = lmq
  2140. pkg_lmq_description = Lightweight Message Queue
  2141. pkg_lmq_homepage = https://github.com/iij/lmq
  2142. pkg_lmq_fetch = git
  2143. pkg_lmq_repo = https://github.com/iij/lmq
  2144. pkg_lmq_commit = master
  2145. PACKAGES += locker
  2146. pkg_locker_name = locker
  2147. pkg_locker_description = Atomic distributed 'check and set' for short-lived keys
  2148. pkg_locker_homepage = https://github.com/wooga/locker
  2149. pkg_locker_fetch = git
  2150. pkg_locker_repo = https://github.com/wooga/locker
  2151. pkg_locker_commit = master
  2152. PACKAGES += locks
  2153. pkg_locks_name = locks
  2154. pkg_locks_description = A scalable, deadlock-resolving resource locker
  2155. pkg_locks_homepage = https://github.com/uwiger/locks
  2156. pkg_locks_fetch = git
  2157. pkg_locks_repo = https://github.com/uwiger/locks
  2158. pkg_locks_commit = master
  2159. PACKAGES += log4erl
  2160. pkg_log4erl_name = log4erl
  2161. pkg_log4erl_description = A logger for erlang in the spirit of Log4J.
  2162. pkg_log4erl_homepage = https://github.com/ahmednawras/log4erl
  2163. pkg_log4erl_fetch = git
  2164. pkg_log4erl_repo = https://github.com/ahmednawras/log4erl
  2165. pkg_log4erl_commit = master
  2166. PACKAGES += lol
  2167. pkg_lol_name = lol
  2168. pkg_lol_description = Lisp on erLang, and programming is fun again
  2169. pkg_lol_homepage = https://github.com/b0oh/lol
  2170. pkg_lol_fetch = git
  2171. pkg_lol_repo = https://github.com/b0oh/lol
  2172. pkg_lol_commit = master
  2173. PACKAGES += lucid
  2174. pkg_lucid_name = lucid
  2175. pkg_lucid_description = HTTP/2 server written in Erlang
  2176. pkg_lucid_homepage = https://github.com/tatsuhiro-t/lucid
  2177. pkg_lucid_fetch = git
  2178. pkg_lucid_repo = https://github.com/tatsuhiro-t/lucid
  2179. pkg_lucid_commit = master
  2180. PACKAGES += luerl
  2181. pkg_luerl_name = luerl
  2182. pkg_luerl_description = Lua in Erlang
  2183. pkg_luerl_homepage = https://github.com/rvirding/luerl
  2184. pkg_luerl_fetch = git
  2185. pkg_luerl_repo = https://github.com/rvirding/luerl
  2186. pkg_luerl_commit = develop
  2187. PACKAGES += luwak
  2188. pkg_luwak_name = luwak
  2189. pkg_luwak_description = Large-object storage interface for Riak
  2190. pkg_luwak_homepage = https://github.com/basho/luwak
  2191. pkg_luwak_fetch = git
  2192. pkg_luwak_repo = https://github.com/basho/luwak
  2193. pkg_luwak_commit = master
  2194. PACKAGES += lux
  2195. pkg_lux_name = lux
  2196. pkg_lux_description = Lux (LUcid eXpect scripting) simplifies test automation and provides an Expect-style execution of commands
  2197. pkg_lux_homepage = https://github.com/hawk/lux
  2198. pkg_lux_fetch = git
  2199. pkg_lux_repo = https://github.com/hawk/lux
  2200. pkg_lux_commit = master
  2201. PACKAGES += machi
  2202. pkg_machi_name = machi
  2203. pkg_machi_description = Machi file store
  2204. pkg_machi_homepage = https://github.com/basho/machi
  2205. pkg_machi_fetch = git
  2206. pkg_machi_repo = https://github.com/basho/machi
  2207. pkg_machi_commit = master
  2208. PACKAGES += mad
  2209. pkg_mad_name = mad
  2210. pkg_mad_description = Small and Fast Rebar Replacement
  2211. pkg_mad_homepage = https://github.com/synrc/mad
  2212. pkg_mad_fetch = git
  2213. pkg_mad_repo = https://github.com/synrc/mad
  2214. pkg_mad_commit = master
  2215. PACKAGES += marina
  2216. pkg_marina_name = marina
  2217. pkg_marina_description = Non-blocking Erlang Cassandra CQL3 client
  2218. pkg_marina_homepage = https://github.com/lpgauth/marina
  2219. pkg_marina_fetch = git
  2220. pkg_marina_repo = https://github.com/lpgauth/marina
  2221. pkg_marina_commit = master
  2222. PACKAGES += mavg
  2223. pkg_mavg_name = mavg
  2224. pkg_mavg_description = Erlang :: Exponential moving average library
  2225. pkg_mavg_homepage = https://github.com/EchoTeam/mavg
  2226. pkg_mavg_fetch = git
  2227. pkg_mavg_repo = https://github.com/EchoTeam/mavg
  2228. pkg_mavg_commit = master
  2229. PACKAGES += mc_erl
  2230. pkg_mc_erl_name = mc_erl
  2231. pkg_mc_erl_description = mc-erl is a server for Minecraft 1.4.7 written in Erlang.
  2232. pkg_mc_erl_homepage = https://github.com/clonejo/mc-erl
  2233. pkg_mc_erl_fetch = git
  2234. pkg_mc_erl_repo = https://github.com/clonejo/mc-erl
  2235. pkg_mc_erl_commit = master
  2236. PACKAGES += mcd
  2237. pkg_mcd_name = mcd
  2238. pkg_mcd_description = Fast memcached protocol client in pure Erlang
  2239. pkg_mcd_homepage = https://github.com/EchoTeam/mcd
  2240. pkg_mcd_fetch = git
  2241. pkg_mcd_repo = https://github.com/EchoTeam/mcd
  2242. pkg_mcd_commit = master
  2243. PACKAGES += mcerlang
  2244. pkg_mcerlang_name = mcerlang
  2245. pkg_mcerlang_description = The McErlang model checker for Erlang
  2246. pkg_mcerlang_homepage = https://github.com/fredlund/McErlang
  2247. pkg_mcerlang_fetch = git
  2248. pkg_mcerlang_repo = https://github.com/fredlund/McErlang
  2249. pkg_mcerlang_commit = master
  2250. PACKAGES += meck
  2251. pkg_meck_name = meck
  2252. pkg_meck_description = A mocking library for Erlang
  2253. pkg_meck_homepage = https://github.com/eproxus/meck
  2254. pkg_meck_fetch = git
  2255. pkg_meck_repo = https://github.com/eproxus/meck
  2256. pkg_meck_commit = master
  2257. PACKAGES += mekao
  2258. pkg_mekao_name = mekao
  2259. pkg_mekao_description = SQL constructor
  2260. pkg_mekao_homepage = https://github.com/ddosia/mekao
  2261. pkg_mekao_fetch = git
  2262. pkg_mekao_repo = https://github.com/ddosia/mekao
  2263. pkg_mekao_commit = master
  2264. PACKAGES += memo
  2265. pkg_memo_name = memo
  2266. pkg_memo_description = Erlang memoization server
  2267. pkg_memo_homepage = https://github.com/tuncer/memo
  2268. pkg_memo_fetch = git
  2269. pkg_memo_repo = https://github.com/tuncer/memo
  2270. pkg_memo_commit = master
  2271. PACKAGES += merge_index
  2272. pkg_merge_index_name = merge_index
  2273. pkg_merge_index_description = MergeIndex is an Erlang library for storing ordered sets on disk. It is very similar to an SSTable (in Google's Bigtable) or an HFile (in Hadoop).
  2274. pkg_merge_index_homepage = https://github.com/basho/merge_index
  2275. pkg_merge_index_fetch = git
  2276. pkg_merge_index_repo = https://github.com/basho/merge_index
  2277. pkg_merge_index_commit = master
  2278. PACKAGES += merl
  2279. pkg_merl_name = merl
  2280. pkg_merl_description = Metaprogramming in Erlang
  2281. pkg_merl_homepage = https://github.com/richcarl/merl
  2282. pkg_merl_fetch = git
  2283. pkg_merl_repo = https://github.com/richcarl/merl
  2284. pkg_merl_commit = master
  2285. PACKAGES += mimerl
  2286. pkg_mimerl_name = mimerl
  2287. pkg_mimerl_description = library to handle mimetypes
  2288. pkg_mimerl_homepage = https://github.com/benoitc/mimerl
  2289. pkg_mimerl_fetch = git
  2290. pkg_mimerl_repo = https://github.com/benoitc/mimerl
  2291. pkg_mimerl_commit = master
  2292. PACKAGES += mimetypes
  2293. pkg_mimetypes_name = mimetypes
  2294. pkg_mimetypes_description = Erlang MIME types library
  2295. pkg_mimetypes_homepage = https://github.com/spawngrid/mimetypes
  2296. pkg_mimetypes_fetch = git
  2297. pkg_mimetypes_repo = https://github.com/spawngrid/mimetypes
  2298. pkg_mimetypes_commit = master
  2299. PACKAGES += mixer
  2300. pkg_mixer_name = mixer
  2301. pkg_mixer_description = Mix in functions from other modules
  2302. pkg_mixer_homepage = https://github.com/chef/mixer
  2303. pkg_mixer_fetch = git
  2304. pkg_mixer_repo = https://github.com/chef/mixer
  2305. pkg_mixer_commit = master
  2306. PACKAGES += mochiweb
  2307. pkg_mochiweb_name = mochiweb
  2308. pkg_mochiweb_description = MochiWeb is an Erlang library for building lightweight HTTP servers.
  2309. pkg_mochiweb_homepage = https://github.com/mochi/mochiweb
  2310. pkg_mochiweb_fetch = git
  2311. pkg_mochiweb_repo = https://github.com/mochi/mochiweb
  2312. pkg_mochiweb_commit = master
  2313. PACKAGES += mochiweb_xpath
  2314. pkg_mochiweb_xpath_name = mochiweb_xpath
  2315. pkg_mochiweb_xpath_description = XPath support for mochiweb's html parser
  2316. pkg_mochiweb_xpath_homepage = https://github.com/retnuh/mochiweb_xpath
  2317. pkg_mochiweb_xpath_fetch = git
  2318. pkg_mochiweb_xpath_repo = https://github.com/retnuh/mochiweb_xpath
  2319. pkg_mochiweb_xpath_commit = master
  2320. PACKAGES += mockgyver
  2321. pkg_mockgyver_name = mockgyver
  2322. pkg_mockgyver_description = A mocking library for Erlang
  2323. pkg_mockgyver_homepage = https://github.com/klajo/mockgyver
  2324. pkg_mockgyver_fetch = git
  2325. pkg_mockgyver_repo = https://github.com/klajo/mockgyver
  2326. pkg_mockgyver_commit = master
  2327. PACKAGES += modlib
  2328. pkg_modlib_name = modlib
  2329. pkg_modlib_description = Web framework based on Erlang's inets httpd
  2330. pkg_modlib_homepage = https://github.com/gar1t/modlib
  2331. pkg_modlib_fetch = git
  2332. pkg_modlib_repo = https://github.com/gar1t/modlib
  2333. pkg_modlib_commit = master
  2334. PACKAGES += mongodb
  2335. pkg_mongodb_name = mongodb
  2336. pkg_mongodb_description = MongoDB driver for Erlang
  2337. pkg_mongodb_homepage = https://github.com/comtihon/mongodb-erlang
  2338. pkg_mongodb_fetch = git
  2339. pkg_mongodb_repo = https://github.com/comtihon/mongodb-erlang
  2340. pkg_mongodb_commit = master
  2341. PACKAGES += mongooseim
  2342. pkg_mongooseim_name = mongooseim
  2343. pkg_mongooseim_description = Jabber / XMPP server with focus on performance and scalability, by Erlang Solutions
  2344. pkg_mongooseim_homepage = https://www.erlang-solutions.com/products/mongooseim-massively-scalable-ejabberd-platform
  2345. pkg_mongooseim_fetch = git
  2346. pkg_mongooseim_repo = https://github.com/esl/MongooseIM
  2347. pkg_mongooseim_commit = master
  2348. PACKAGES += moyo
  2349. pkg_moyo_name = moyo
  2350. pkg_moyo_description = Erlang utility functions library
  2351. pkg_moyo_homepage = https://github.com/dwango/moyo
  2352. pkg_moyo_fetch = git
  2353. pkg_moyo_repo = https://github.com/dwango/moyo
  2354. pkg_moyo_commit = master
  2355. PACKAGES += msgpack
  2356. pkg_msgpack_name = msgpack
  2357. pkg_msgpack_description = MessagePack (de)serializer implementation for Erlang
  2358. pkg_msgpack_homepage = https://github.com/msgpack/msgpack-erlang
  2359. pkg_msgpack_fetch = git
  2360. pkg_msgpack_repo = https://github.com/msgpack/msgpack-erlang
  2361. pkg_msgpack_commit = master
  2362. PACKAGES += mu2
  2363. pkg_mu2_name = mu2
  2364. pkg_mu2_description = Erlang mutation testing tool
  2365. pkg_mu2_homepage = https://github.com/ramsay-t/mu2
  2366. pkg_mu2_fetch = git
  2367. pkg_mu2_repo = https://github.com/ramsay-t/mu2
  2368. pkg_mu2_commit = master
  2369. PACKAGES += mustache
  2370. pkg_mustache_name = mustache
  2371. pkg_mustache_description = Mustache template engine for Erlang.
  2372. pkg_mustache_homepage = https://github.com/mojombo/mustache.erl
  2373. pkg_mustache_fetch = git
  2374. pkg_mustache_repo = https://github.com/mojombo/mustache.erl
  2375. pkg_mustache_commit = master
  2376. PACKAGES += myproto
  2377. pkg_myproto_name = myproto
  2378. pkg_myproto_description = MySQL Server Protocol in Erlang
  2379. pkg_myproto_homepage = https://github.com/altenwald/myproto
  2380. pkg_myproto_fetch = git
  2381. pkg_myproto_repo = https://github.com/altenwald/myproto
  2382. pkg_myproto_commit = master
  2383. PACKAGES += mysql
  2384. pkg_mysql_name = mysql
  2385. pkg_mysql_description = Erlang MySQL Driver (from code.google.com)
  2386. pkg_mysql_homepage = https://github.com/dizzyd/erlang-mysql-driver
  2387. pkg_mysql_fetch = git
  2388. pkg_mysql_repo = https://github.com/dizzyd/erlang-mysql-driver
  2389. pkg_mysql_commit = master
  2390. PACKAGES += n2o
  2391. pkg_n2o_name = n2o
  2392. pkg_n2o_description = WebSocket Application Server
  2393. pkg_n2o_homepage = https://github.com/5HT/n2o
  2394. pkg_n2o_fetch = git
  2395. pkg_n2o_repo = https://github.com/5HT/n2o
  2396. pkg_n2o_commit = master
  2397. PACKAGES += nat_upnp
  2398. pkg_nat_upnp_name = nat_upnp
  2399. pkg_nat_upnp_description = Erlang library to map your internal port to an external using UNP IGD
  2400. pkg_nat_upnp_homepage = https://github.com/benoitc/nat_upnp
  2401. pkg_nat_upnp_fetch = git
  2402. pkg_nat_upnp_repo = https://github.com/benoitc/nat_upnp
  2403. pkg_nat_upnp_commit = master
  2404. PACKAGES += neo4j
  2405. pkg_neo4j_name = neo4j
  2406. pkg_neo4j_description = Erlang client library for Neo4J.
  2407. pkg_neo4j_homepage = https://github.com/dmitriid/neo4j-erlang
  2408. pkg_neo4j_fetch = git
  2409. pkg_neo4j_repo = https://github.com/dmitriid/neo4j-erlang
  2410. pkg_neo4j_commit = master
  2411. PACKAGES += neotoma
  2412. pkg_neotoma_name = neotoma
  2413. pkg_neotoma_description = Erlang library and packrat parser-generator for parsing expression grammars.
  2414. pkg_neotoma_homepage = https://github.com/seancribbs/neotoma
  2415. pkg_neotoma_fetch = git
  2416. pkg_neotoma_repo = https://github.com/seancribbs/neotoma
  2417. pkg_neotoma_commit = master
  2418. PACKAGES += newrelic
  2419. pkg_newrelic_name = newrelic
  2420. pkg_newrelic_description = Erlang library for sending metrics to New Relic
  2421. pkg_newrelic_homepage = https://github.com/wooga/newrelic-erlang
  2422. pkg_newrelic_fetch = git
  2423. pkg_newrelic_repo = https://github.com/wooga/newrelic-erlang
  2424. pkg_newrelic_commit = master
  2425. PACKAGES += nifty
  2426. pkg_nifty_name = nifty
  2427. pkg_nifty_description = Erlang NIF wrapper generator
  2428. pkg_nifty_homepage = https://github.com/parapluu/nifty
  2429. pkg_nifty_fetch = git
  2430. pkg_nifty_repo = https://github.com/parapluu/nifty
  2431. pkg_nifty_commit = master
  2432. PACKAGES += nitrogen_core
  2433. pkg_nitrogen_core_name = nitrogen_core
  2434. pkg_nitrogen_core_description = The core Nitrogen library.
  2435. pkg_nitrogen_core_homepage = http://nitrogenproject.com/
  2436. pkg_nitrogen_core_fetch = git
  2437. pkg_nitrogen_core_repo = https://github.com/nitrogen/nitrogen_core
  2438. pkg_nitrogen_core_commit = master
  2439. PACKAGES += nkbase
  2440. pkg_nkbase_name = nkbase
  2441. pkg_nkbase_description = NkBASE distributed database
  2442. pkg_nkbase_homepage = https://github.com/Nekso/nkbase
  2443. pkg_nkbase_fetch = git
  2444. pkg_nkbase_repo = https://github.com/Nekso/nkbase
  2445. pkg_nkbase_commit = develop
  2446. PACKAGES += nkdocker
  2447. pkg_nkdocker_name = nkdocker
  2448. pkg_nkdocker_description = Erlang Docker client
  2449. pkg_nkdocker_homepage = https://github.com/Nekso/nkdocker
  2450. pkg_nkdocker_fetch = git
  2451. pkg_nkdocker_repo = https://github.com/Nekso/nkdocker
  2452. pkg_nkdocker_commit = master
  2453. PACKAGES += nkpacket
  2454. pkg_nkpacket_name = nkpacket
  2455. pkg_nkpacket_description = Generic Erlang transport layer
  2456. pkg_nkpacket_homepage = https://github.com/Nekso/nkpacket
  2457. pkg_nkpacket_fetch = git
  2458. pkg_nkpacket_repo = https://github.com/Nekso/nkpacket
  2459. pkg_nkpacket_commit = master
  2460. PACKAGES += nksip
  2461. pkg_nksip_name = nksip
  2462. pkg_nksip_description = Erlang SIP application server
  2463. pkg_nksip_homepage = https://github.com/kalta/nksip
  2464. pkg_nksip_fetch = git
  2465. pkg_nksip_repo = https://github.com/kalta/nksip
  2466. pkg_nksip_commit = master
  2467. PACKAGES += nodefinder
  2468. pkg_nodefinder_name = nodefinder
  2469. pkg_nodefinder_description = automatic node discovery via UDP multicast
  2470. pkg_nodefinder_homepage = https://github.com/erlanger/nodefinder
  2471. pkg_nodefinder_fetch = git
  2472. pkg_nodefinder_repo = https://github.com/okeuday/nodefinder
  2473. pkg_nodefinder_commit = master
  2474. PACKAGES += nprocreg
  2475. pkg_nprocreg_name = nprocreg
  2476. pkg_nprocreg_description = Minimal Distributed Erlang Process Registry
  2477. pkg_nprocreg_homepage = http://nitrogenproject.com/
  2478. pkg_nprocreg_fetch = git
  2479. pkg_nprocreg_repo = https://github.com/nitrogen/nprocreg
  2480. pkg_nprocreg_commit = master
  2481. PACKAGES += oauth
  2482. pkg_oauth_name = oauth
  2483. pkg_oauth_description = An Erlang OAuth 1.0 implementation
  2484. pkg_oauth_homepage = https://github.com/tim/erlang-oauth
  2485. pkg_oauth_fetch = git
  2486. pkg_oauth_repo = https://github.com/tim/erlang-oauth
  2487. pkg_oauth_commit = master
  2488. PACKAGES += oauth2
  2489. pkg_oauth2_name = oauth2
  2490. pkg_oauth2_description = Erlang Oauth2 implementation
  2491. pkg_oauth2_homepage = https://github.com/kivra/oauth2
  2492. pkg_oauth2_fetch = git
  2493. pkg_oauth2_repo = https://github.com/kivra/oauth2
  2494. pkg_oauth2_commit = master
  2495. PACKAGES += octopus
  2496. pkg_octopus_name = octopus
  2497. pkg_octopus_description = Small and flexible pool manager written in Erlang
  2498. pkg_octopus_homepage = https://github.com/erlangbureau/octopus
  2499. pkg_octopus_fetch = git
  2500. pkg_octopus_repo = https://github.com/erlangbureau/octopus
  2501. pkg_octopus_commit = master
  2502. PACKAGES += of_protocol
  2503. pkg_of_protocol_name = of_protocol
  2504. pkg_of_protocol_description = OpenFlow Protocol Library for Erlang
  2505. pkg_of_protocol_homepage = https://github.com/FlowForwarding/of_protocol
  2506. pkg_of_protocol_fetch = git
  2507. pkg_of_protocol_repo = https://github.com/FlowForwarding/of_protocol
  2508. pkg_of_protocol_commit = master
  2509. PACKAGES += opencouch
  2510. pkg_opencouch_name = couch
  2511. pkg_opencouch_description = A embeddable document oriented database compatible with Apache CouchDB
  2512. pkg_opencouch_homepage = https://github.com/benoitc/opencouch
  2513. pkg_opencouch_fetch = git
  2514. pkg_opencouch_repo = https://github.com/benoitc/opencouch
  2515. pkg_opencouch_commit = master
  2516. PACKAGES += openflow
  2517. pkg_openflow_name = openflow
  2518. pkg_openflow_description = An OpenFlow controller written in pure erlang
  2519. pkg_openflow_homepage = https://github.com/renatoaguiar/erlang-openflow
  2520. pkg_openflow_fetch = git
  2521. pkg_openflow_repo = https://github.com/renatoaguiar/erlang-openflow
  2522. pkg_openflow_commit = master
  2523. PACKAGES += openid
  2524. pkg_openid_name = openid
  2525. pkg_openid_description = Erlang OpenID
  2526. pkg_openid_homepage = https://github.com/brendonh/erl_openid
  2527. pkg_openid_fetch = git
  2528. pkg_openid_repo = https://github.com/brendonh/erl_openid
  2529. pkg_openid_commit = master
  2530. PACKAGES += openpoker
  2531. pkg_openpoker_name = openpoker
  2532. pkg_openpoker_description = Genesis Texas hold'em Game Server
  2533. pkg_openpoker_homepage = https://github.com/hpyhacking/openpoker
  2534. pkg_openpoker_fetch = git
  2535. pkg_openpoker_repo = https://github.com/hpyhacking/openpoker
  2536. pkg_openpoker_commit = master
  2537. PACKAGES += pal
  2538. pkg_pal_name = pal
  2539. pkg_pal_description = Pragmatic Authentication Library
  2540. pkg_pal_homepage = https://github.com/manifest/pal
  2541. pkg_pal_fetch = git
  2542. pkg_pal_repo = https://github.com/manifest/pal
  2543. pkg_pal_commit = master
  2544. PACKAGES += parse_trans
  2545. pkg_parse_trans_name = parse_trans
  2546. pkg_parse_trans_description = Parse transform utilities for Erlang
  2547. pkg_parse_trans_homepage = https://github.com/uwiger/parse_trans
  2548. pkg_parse_trans_fetch = git
  2549. pkg_parse_trans_repo = https://github.com/uwiger/parse_trans
  2550. pkg_parse_trans_commit = master
  2551. PACKAGES += parsexml
  2552. pkg_parsexml_name = parsexml
  2553. pkg_parsexml_description = Simple DOM XML parser with convenient and very simple API
  2554. pkg_parsexml_homepage = https://github.com/maxlapshin/parsexml
  2555. pkg_parsexml_fetch = git
  2556. pkg_parsexml_repo = https://github.com/maxlapshin/parsexml
  2557. pkg_parsexml_commit = master
  2558. PACKAGES += pegjs
  2559. pkg_pegjs_name = pegjs
  2560. pkg_pegjs_description = An implementation of PEG.js grammar for Erlang.
  2561. pkg_pegjs_homepage = https://github.com/dmitriid/pegjs
  2562. pkg_pegjs_fetch = git
  2563. pkg_pegjs_repo = https://github.com/dmitriid/pegjs
  2564. pkg_pegjs_commit = master
  2565. PACKAGES += percept2
  2566. pkg_percept2_name = percept2
  2567. pkg_percept2_description = Concurrent profiling tool for Erlang
  2568. pkg_percept2_homepage = https://github.com/huiqing/percept2
  2569. pkg_percept2_fetch = git
  2570. pkg_percept2_repo = https://github.com/huiqing/percept2
  2571. pkg_percept2_commit = master
  2572. PACKAGES += pgsql
  2573. pkg_pgsql_name = pgsql
  2574. pkg_pgsql_description = Erlang PostgreSQL driver
  2575. pkg_pgsql_homepage = https://github.com/semiocast/pgsql
  2576. pkg_pgsql_fetch = git
  2577. pkg_pgsql_repo = https://github.com/semiocast/pgsql
  2578. pkg_pgsql_commit = master
  2579. PACKAGES += pkgx
  2580. pkg_pkgx_name = pkgx
  2581. pkg_pkgx_description = Build .deb packages from Erlang releases
  2582. pkg_pkgx_homepage = https://github.com/arjan/pkgx
  2583. pkg_pkgx_fetch = git
  2584. pkg_pkgx_repo = https://github.com/arjan/pkgx
  2585. pkg_pkgx_commit = master
  2586. PACKAGES += pkt
  2587. pkg_pkt_name = pkt
  2588. pkg_pkt_description = Erlang network protocol library
  2589. pkg_pkt_homepage = https://github.com/msantos/pkt
  2590. pkg_pkt_fetch = git
  2591. pkg_pkt_repo = https://github.com/msantos/pkt
  2592. pkg_pkt_commit = master
  2593. PACKAGES += plain_fsm
  2594. pkg_plain_fsm_name = plain_fsm
  2595. pkg_plain_fsm_description = A behaviour/support library for writing plain Erlang FSMs.
  2596. pkg_plain_fsm_homepage = https://github.com/uwiger/plain_fsm
  2597. pkg_plain_fsm_fetch = git
  2598. pkg_plain_fsm_repo = https://github.com/uwiger/plain_fsm
  2599. pkg_plain_fsm_commit = master
  2600. PACKAGES += plumtree
  2601. pkg_plumtree_name = plumtree
  2602. pkg_plumtree_description = Epidemic Broadcast Trees
  2603. pkg_plumtree_homepage = https://github.com/helium/plumtree
  2604. pkg_plumtree_fetch = git
  2605. pkg_plumtree_repo = https://github.com/helium/plumtree
  2606. pkg_plumtree_commit = master
  2607. PACKAGES += pmod_transform
  2608. pkg_pmod_transform_name = pmod_transform
  2609. pkg_pmod_transform_description = Parse transform for parameterized modules
  2610. pkg_pmod_transform_homepage = https://github.com/erlang/pmod_transform
  2611. pkg_pmod_transform_fetch = git
  2612. pkg_pmod_transform_repo = https://github.com/erlang/pmod_transform
  2613. pkg_pmod_transform_commit = master
  2614. PACKAGES += pobox
  2615. pkg_pobox_name = pobox
  2616. pkg_pobox_description = External buffer processes to protect against mailbox overflow in Erlang
  2617. pkg_pobox_homepage = https://github.com/ferd/pobox
  2618. pkg_pobox_fetch = git
  2619. pkg_pobox_repo = https://github.com/ferd/pobox
  2620. pkg_pobox_commit = master
  2621. PACKAGES += ponos
  2622. pkg_ponos_name = ponos
  2623. pkg_ponos_description = ponos is a simple yet powerful load generator written in erlang
  2624. pkg_ponos_homepage = https://github.com/klarna/ponos
  2625. pkg_ponos_fetch = git
  2626. pkg_ponos_repo = https://github.com/klarna/ponos
  2627. pkg_ponos_commit = master
  2628. PACKAGES += poolboy
  2629. pkg_poolboy_name = poolboy
  2630. pkg_poolboy_description = A hunky Erlang worker pool factory
  2631. pkg_poolboy_homepage = https://github.com/devinus/poolboy
  2632. pkg_poolboy_fetch = git
  2633. pkg_poolboy_repo = https://github.com/devinus/poolboy
  2634. pkg_poolboy_commit = master
  2635. PACKAGES += pooler
  2636. pkg_pooler_name = pooler
  2637. pkg_pooler_description = An OTP Process Pool Application
  2638. pkg_pooler_homepage = https://github.com/seth/pooler
  2639. pkg_pooler_fetch = git
  2640. pkg_pooler_repo = https://github.com/seth/pooler
  2641. pkg_pooler_commit = master
  2642. PACKAGES += pqueue
  2643. pkg_pqueue_name = pqueue
  2644. pkg_pqueue_description = Erlang Priority Queues
  2645. pkg_pqueue_homepage = https://github.com/okeuday/pqueue
  2646. pkg_pqueue_fetch = git
  2647. pkg_pqueue_repo = https://github.com/okeuday/pqueue
  2648. pkg_pqueue_commit = master
  2649. PACKAGES += procket
  2650. pkg_procket_name = procket
  2651. pkg_procket_description = Erlang interface to low level socket operations
  2652. pkg_procket_homepage = http://blog.listincomprehension.com/search/label/procket
  2653. pkg_procket_fetch = git
  2654. pkg_procket_repo = https://github.com/msantos/procket
  2655. pkg_procket_commit = master
  2656. PACKAGES += prop
  2657. pkg_prop_name = prop
  2658. pkg_prop_description = An Erlang code scaffolding and generator system.
  2659. pkg_prop_homepage = https://github.com/nuex/prop
  2660. pkg_prop_fetch = git
  2661. pkg_prop_repo = https://github.com/nuex/prop
  2662. pkg_prop_commit = master
  2663. PACKAGES += proper
  2664. pkg_proper_name = proper
  2665. pkg_proper_description = PropEr: a QuickCheck-inspired property-based testing tool for Erlang.
  2666. pkg_proper_homepage = http://proper.softlab.ntua.gr
  2667. pkg_proper_fetch = git
  2668. pkg_proper_repo = https://github.com/manopapad/proper
  2669. pkg_proper_commit = master
  2670. PACKAGES += props
  2671. pkg_props_name = props
  2672. pkg_props_description = Property structure library
  2673. pkg_props_homepage = https://github.com/greyarea/props
  2674. pkg_props_fetch = git
  2675. pkg_props_repo = https://github.com/greyarea/props
  2676. pkg_props_commit = master
  2677. PACKAGES += protobuffs
  2678. pkg_protobuffs_name = protobuffs
  2679. pkg_protobuffs_description = An implementation of Google's Protocol Buffers for Erlang, based on ngerakines/erlang_protobuffs.
  2680. pkg_protobuffs_homepage = https://github.com/basho/erlang_protobuffs
  2681. pkg_protobuffs_fetch = git
  2682. pkg_protobuffs_repo = https://github.com/basho/erlang_protobuffs
  2683. pkg_protobuffs_commit = master
  2684. PACKAGES += psycho
  2685. pkg_psycho_name = psycho
  2686. pkg_psycho_description = HTTP server that provides a WSGI-like interface for applications and middleware.
  2687. pkg_psycho_homepage = https://github.com/gar1t/psycho
  2688. pkg_psycho_fetch = git
  2689. pkg_psycho_repo = https://github.com/gar1t/psycho
  2690. pkg_psycho_commit = master
  2691. PACKAGES += purity
  2692. pkg_purity_name = purity
  2693. pkg_purity_description = A side-effect analyzer for Erlang
  2694. pkg_purity_homepage = https://github.com/mpitid/purity
  2695. pkg_purity_fetch = git
  2696. pkg_purity_repo = https://github.com/mpitid/purity
  2697. pkg_purity_commit = master
  2698. PACKAGES += push_service
  2699. pkg_push_service_name = push_service
  2700. pkg_push_service_description = Push service
  2701. pkg_push_service_homepage = https://github.com/hairyhum/push_service
  2702. pkg_push_service_fetch = git
  2703. pkg_push_service_repo = https://github.com/hairyhum/push_service
  2704. pkg_push_service_commit = master
  2705. PACKAGES += qdate
  2706. pkg_qdate_name = qdate
  2707. pkg_qdate_description = Date, time, and timezone parsing, formatting, and conversion for Erlang.
  2708. pkg_qdate_homepage = https://github.com/choptastic/qdate
  2709. pkg_qdate_fetch = git
  2710. pkg_qdate_repo = https://github.com/choptastic/qdate
  2711. pkg_qdate_commit = master
  2712. PACKAGES += qrcode
  2713. pkg_qrcode_name = qrcode
  2714. pkg_qrcode_description = QR Code encoder in Erlang
  2715. pkg_qrcode_homepage = https://github.com/komone/qrcode
  2716. pkg_qrcode_fetch = git
  2717. pkg_qrcode_repo = https://github.com/komone/qrcode
  2718. pkg_qrcode_commit = master
  2719. PACKAGES += quest
  2720. pkg_quest_name = quest
  2721. pkg_quest_description = Learn Erlang through this set of challenges. An interactive system for getting to know Erlang.
  2722. pkg_quest_homepage = https://github.com/eriksoe/ErlangQuest
  2723. pkg_quest_fetch = git
  2724. pkg_quest_repo = https://github.com/eriksoe/ErlangQuest
  2725. pkg_quest_commit = master
  2726. PACKAGES += quickrand
  2727. pkg_quickrand_name = quickrand
  2728. pkg_quickrand_description = Quick Erlang Random Number Generation
  2729. pkg_quickrand_homepage = https://github.com/okeuday/quickrand
  2730. pkg_quickrand_fetch = git
  2731. pkg_quickrand_repo = https://github.com/okeuday/quickrand
  2732. pkg_quickrand_commit = master
  2733. PACKAGES += rabbit
  2734. pkg_rabbit_name = rabbit
  2735. pkg_rabbit_description = RabbitMQ Server
  2736. pkg_rabbit_homepage = https://www.rabbitmq.com/
  2737. pkg_rabbit_fetch = git
  2738. pkg_rabbit_repo = https://github.com/rabbitmq/rabbitmq-server.git
  2739. pkg_rabbit_commit = master
  2740. PACKAGES += rabbit_exchange_type_riak
  2741. pkg_rabbit_exchange_type_riak_name = rabbit_exchange_type_riak
  2742. pkg_rabbit_exchange_type_riak_description = Custom RabbitMQ exchange type for sticking messages in Riak
  2743. pkg_rabbit_exchange_type_riak_homepage = https://github.com/jbrisbin/riak-exchange
  2744. pkg_rabbit_exchange_type_riak_fetch = git
  2745. pkg_rabbit_exchange_type_riak_repo = https://github.com/jbrisbin/riak-exchange
  2746. pkg_rabbit_exchange_type_riak_commit = master
  2747. PACKAGES += rack
  2748. pkg_rack_name = rack
  2749. pkg_rack_description = Rack handler for erlang
  2750. pkg_rack_homepage = https://github.com/erlyvideo/rack
  2751. pkg_rack_fetch = git
  2752. pkg_rack_repo = https://github.com/erlyvideo/rack
  2753. pkg_rack_commit = master
  2754. PACKAGES += radierl
  2755. pkg_radierl_name = radierl
  2756. pkg_radierl_description = RADIUS protocol stack implemented in Erlang.
  2757. pkg_radierl_homepage = https://github.com/vances/radierl
  2758. pkg_radierl_fetch = git
  2759. pkg_radierl_repo = https://github.com/vances/radierl
  2760. pkg_radierl_commit = master
  2761. PACKAGES += rafter
  2762. pkg_rafter_name = rafter
  2763. pkg_rafter_description = An Erlang library application which implements the Raft consensus protocol
  2764. pkg_rafter_homepage = https://github.com/andrewjstone/rafter
  2765. pkg_rafter_fetch = git
  2766. pkg_rafter_repo = https://github.com/andrewjstone/rafter
  2767. pkg_rafter_commit = master
  2768. PACKAGES += ranch
  2769. pkg_ranch_name = ranch
  2770. pkg_ranch_description = Socket acceptor pool for TCP protocols.
  2771. pkg_ranch_homepage = http://ninenines.eu
  2772. pkg_ranch_fetch = git
  2773. pkg_ranch_repo = https://github.com/ninenines/ranch
  2774. pkg_ranch_commit = 1.2.1
  2775. PACKAGES += rbeacon
  2776. pkg_rbeacon_name = rbeacon
  2777. pkg_rbeacon_description = LAN discovery and presence in Erlang.
  2778. pkg_rbeacon_homepage = https://github.com/refuge/rbeacon
  2779. pkg_rbeacon_fetch = git
  2780. pkg_rbeacon_repo = https://github.com/refuge/rbeacon
  2781. pkg_rbeacon_commit = master
  2782. PACKAGES += rebar
  2783. pkg_rebar_name = rebar
  2784. pkg_rebar_description = Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.
  2785. pkg_rebar_homepage = http://www.rebar3.org
  2786. pkg_rebar_fetch = git
  2787. pkg_rebar_repo = https://github.com/rebar/rebar3
  2788. pkg_rebar_commit = master
  2789. PACKAGES += rebus
  2790. pkg_rebus_name = rebus
  2791. pkg_rebus_description = A stupid simple, internal, pub/sub event bus written in- and for Erlang.
  2792. pkg_rebus_homepage = https://github.com/olle/rebus
  2793. pkg_rebus_fetch = git
  2794. pkg_rebus_repo = https://github.com/olle/rebus
  2795. pkg_rebus_commit = master
  2796. PACKAGES += rec2json
  2797. pkg_rec2json_name = rec2json
  2798. pkg_rec2json_description = Compile erlang record definitions into modules to convert them to/from json easily.
  2799. pkg_rec2json_homepage = https://github.com/lordnull/rec2json
  2800. pkg_rec2json_fetch = git
  2801. pkg_rec2json_repo = https://github.com/lordnull/rec2json
  2802. pkg_rec2json_commit = master
  2803. PACKAGES += recon
  2804. pkg_recon_name = recon
  2805. pkg_recon_description = Collection of functions and scripts to debug Erlang in production.
  2806. pkg_recon_homepage = https://github.com/ferd/recon
  2807. pkg_recon_fetch = git
  2808. pkg_recon_repo = https://github.com/ferd/recon
  2809. pkg_recon_commit = master
  2810. PACKAGES += record_info
  2811. pkg_record_info_name = record_info
  2812. pkg_record_info_description = Convert between record and proplist
  2813. pkg_record_info_homepage = https://github.com/bipthelin/erlang-record_info
  2814. pkg_record_info_fetch = git
  2815. pkg_record_info_repo = https://github.com/bipthelin/erlang-record_info
  2816. pkg_record_info_commit = master
  2817. PACKAGES += redgrid
  2818. pkg_redgrid_name = redgrid
  2819. pkg_redgrid_description = automatic Erlang node discovery via redis
  2820. pkg_redgrid_homepage = https://github.com/jkvor/redgrid
  2821. pkg_redgrid_fetch = git
  2822. pkg_redgrid_repo = https://github.com/jkvor/redgrid
  2823. pkg_redgrid_commit = master
  2824. PACKAGES += redo
  2825. pkg_redo_name = redo
  2826. pkg_redo_description = pipelined erlang redis client
  2827. pkg_redo_homepage = https://github.com/jkvor/redo
  2828. pkg_redo_fetch = git
  2829. pkg_redo_repo = https://github.com/jkvor/redo
  2830. pkg_redo_commit = master
  2831. PACKAGES += reload_mk
  2832. pkg_reload_mk_name = reload_mk
  2833. pkg_reload_mk_description = Live reload plugin for erlang.mk.
  2834. pkg_reload_mk_homepage = https://github.com/bullno1/reload.mk
  2835. pkg_reload_mk_fetch = git
  2836. pkg_reload_mk_repo = https://github.com/bullno1/reload.mk
  2837. pkg_reload_mk_commit = master
  2838. PACKAGES += reltool_util
  2839. pkg_reltool_util_name = reltool_util
  2840. pkg_reltool_util_description = Erlang reltool utility functionality application
  2841. pkg_reltool_util_homepage = https://github.com/okeuday/reltool_util
  2842. pkg_reltool_util_fetch = git
  2843. pkg_reltool_util_repo = https://github.com/okeuday/reltool_util
  2844. pkg_reltool_util_commit = master
  2845. PACKAGES += relx
  2846. pkg_relx_name = relx
  2847. pkg_relx_description = Sane, simple release creation for Erlang
  2848. pkg_relx_homepage = https://github.com/erlware/relx
  2849. pkg_relx_fetch = git
  2850. pkg_relx_repo = https://github.com/erlware/relx
  2851. pkg_relx_commit = master
  2852. PACKAGES += resource_discovery
  2853. pkg_resource_discovery_name = resource_discovery
  2854. pkg_resource_discovery_description = An application used to dynamically discover resources present in an Erlang node cluster.
  2855. pkg_resource_discovery_homepage = http://erlware.org/
  2856. pkg_resource_discovery_fetch = git
  2857. pkg_resource_discovery_repo = https://github.com/erlware/resource_discovery
  2858. pkg_resource_discovery_commit = master
  2859. PACKAGES += restc
  2860. pkg_restc_name = restc
  2861. pkg_restc_description = Erlang Rest Client
  2862. pkg_restc_homepage = https://github.com/kivra/restclient
  2863. pkg_restc_fetch = git
  2864. pkg_restc_repo = https://github.com/kivra/restclient
  2865. pkg_restc_commit = master
  2866. PACKAGES += rfc4627_jsonrpc
  2867. pkg_rfc4627_jsonrpc_name = rfc4627_jsonrpc
  2868. pkg_rfc4627_jsonrpc_description = Erlang RFC4627 (JSON) codec and JSON-RPC server implementation.
  2869. pkg_rfc4627_jsonrpc_homepage = https://github.com/tonyg/erlang-rfc4627
  2870. pkg_rfc4627_jsonrpc_fetch = git
  2871. pkg_rfc4627_jsonrpc_repo = https://github.com/tonyg/erlang-rfc4627
  2872. pkg_rfc4627_jsonrpc_commit = master
  2873. PACKAGES += riak_control
  2874. pkg_riak_control_name = riak_control
  2875. pkg_riak_control_description = Webmachine-based administration interface for Riak.
  2876. pkg_riak_control_homepage = https://github.com/basho/riak_control
  2877. pkg_riak_control_fetch = git
  2878. pkg_riak_control_repo = https://github.com/basho/riak_control
  2879. pkg_riak_control_commit = master
  2880. PACKAGES += riak_core
  2881. pkg_riak_core_name = riak_core
  2882. pkg_riak_core_description = Distributed systems infrastructure used by Riak.
  2883. pkg_riak_core_homepage = https://github.com/basho/riak_core
  2884. pkg_riak_core_fetch = git
  2885. pkg_riak_core_repo = https://github.com/basho/riak_core
  2886. pkg_riak_core_commit = master
  2887. PACKAGES += riak_dt
  2888. pkg_riak_dt_name = riak_dt
  2889. pkg_riak_dt_description = Convergent replicated datatypes in Erlang
  2890. pkg_riak_dt_homepage = https://github.com/basho/riak_dt
  2891. pkg_riak_dt_fetch = git
  2892. pkg_riak_dt_repo = https://github.com/basho/riak_dt
  2893. pkg_riak_dt_commit = master
  2894. PACKAGES += riak_ensemble
  2895. pkg_riak_ensemble_name = riak_ensemble
  2896. pkg_riak_ensemble_description = Multi-Paxos framework in Erlang
  2897. pkg_riak_ensemble_homepage = https://github.com/basho/riak_ensemble
  2898. pkg_riak_ensemble_fetch = git
  2899. pkg_riak_ensemble_repo = https://github.com/basho/riak_ensemble
  2900. pkg_riak_ensemble_commit = master
  2901. PACKAGES += riak_kv
  2902. pkg_riak_kv_name = riak_kv
  2903. pkg_riak_kv_description = Riak Key/Value Store
  2904. pkg_riak_kv_homepage = https://github.com/basho/riak_kv
  2905. pkg_riak_kv_fetch = git
  2906. pkg_riak_kv_repo = https://github.com/basho/riak_kv
  2907. pkg_riak_kv_commit = master
  2908. PACKAGES += riak_pg
  2909. pkg_riak_pg_name = riak_pg
  2910. pkg_riak_pg_description = Distributed process groups with riak_core.
  2911. pkg_riak_pg_homepage = https://github.com/cmeiklejohn/riak_pg
  2912. pkg_riak_pg_fetch = git
  2913. pkg_riak_pg_repo = https://github.com/cmeiklejohn/riak_pg
  2914. pkg_riak_pg_commit = master
  2915. PACKAGES += riak_pipe
  2916. pkg_riak_pipe_name = riak_pipe
  2917. pkg_riak_pipe_description = Riak Pipelines
  2918. pkg_riak_pipe_homepage = https://github.com/basho/riak_pipe
  2919. pkg_riak_pipe_fetch = git
  2920. pkg_riak_pipe_repo = https://github.com/basho/riak_pipe
  2921. pkg_riak_pipe_commit = master
  2922. PACKAGES += riak_sysmon
  2923. pkg_riak_sysmon_name = riak_sysmon
  2924. pkg_riak_sysmon_description = Simple OTP app for managing Erlang VM system_monitor event messages
  2925. pkg_riak_sysmon_homepage = https://github.com/basho/riak_sysmon
  2926. pkg_riak_sysmon_fetch = git
  2927. pkg_riak_sysmon_repo = https://github.com/basho/riak_sysmon
  2928. pkg_riak_sysmon_commit = master
  2929. PACKAGES += riak_test
  2930. pkg_riak_test_name = riak_test
  2931. pkg_riak_test_description = I'm in your cluster, testing your riaks
  2932. pkg_riak_test_homepage = https://github.com/basho/riak_test
  2933. pkg_riak_test_fetch = git
  2934. pkg_riak_test_repo = https://github.com/basho/riak_test
  2935. pkg_riak_test_commit = master
  2936. PACKAGES += riakc
  2937. pkg_riakc_name = riakc
  2938. pkg_riakc_description = Erlang clients for Riak.
  2939. pkg_riakc_homepage = https://github.com/basho/riak-erlang-client
  2940. pkg_riakc_fetch = git
  2941. pkg_riakc_repo = https://github.com/basho/riak-erlang-client
  2942. pkg_riakc_commit = master
  2943. PACKAGES += riakhttpc
  2944. pkg_riakhttpc_name = riakhttpc
  2945. pkg_riakhttpc_description = Riak Erlang client using the HTTP interface
  2946. pkg_riakhttpc_homepage = https://github.com/basho/riak-erlang-http-client
  2947. pkg_riakhttpc_fetch = git
  2948. pkg_riakhttpc_repo = https://github.com/basho/riak-erlang-http-client
  2949. pkg_riakhttpc_commit = master
  2950. PACKAGES += riaknostic
  2951. pkg_riaknostic_name = riaknostic
  2952. pkg_riaknostic_description = A diagnostic tool for Riak installations, to find common errors asap
  2953. pkg_riaknostic_homepage = https://github.com/basho/riaknostic
  2954. pkg_riaknostic_fetch = git
  2955. pkg_riaknostic_repo = https://github.com/basho/riaknostic
  2956. pkg_riaknostic_commit = master
  2957. PACKAGES += riakpool
  2958. pkg_riakpool_name = riakpool
  2959. pkg_riakpool_description = erlang riak client pool
  2960. pkg_riakpool_homepage = https://github.com/dweldon/riakpool
  2961. pkg_riakpool_fetch = git
  2962. pkg_riakpool_repo = https://github.com/dweldon/riakpool
  2963. pkg_riakpool_commit = master
  2964. PACKAGES += rivus_cep
  2965. pkg_rivus_cep_name = rivus_cep
  2966. pkg_rivus_cep_description = Complex event processing in Erlang
  2967. pkg_rivus_cep_homepage = https://github.com/vascokk/rivus_cep
  2968. pkg_rivus_cep_fetch = git
  2969. pkg_rivus_cep_repo = https://github.com/vascokk/rivus_cep
  2970. pkg_rivus_cep_commit = master
  2971. PACKAGES += rlimit
  2972. pkg_rlimit_name = rlimit
  2973. pkg_rlimit_description = Magnus Klaar's rate limiter code from etorrent
  2974. pkg_rlimit_homepage = https://github.com/jlouis/rlimit
  2975. pkg_rlimit_fetch = git
  2976. pkg_rlimit_repo = https://github.com/jlouis/rlimit
  2977. pkg_rlimit_commit = master
  2978. PACKAGES += rust_mk
  2979. pkg_rust_mk_name = rust_mk
  2980. pkg_rust_mk_description = Build Rust crates in an Erlang application
  2981. pkg_rust_mk_homepage = https://github.com/goertzenator/rust.mk
  2982. pkg_rust_mk_fetch = git
  2983. pkg_rust_mk_repo = https://github.com/goertzenator/rust.mk
  2984. pkg_rust_mk_commit = master
  2985. PACKAGES += safetyvalve
  2986. pkg_safetyvalve_name = safetyvalve
  2987. pkg_safetyvalve_description = A safety valve for your erlang node
  2988. pkg_safetyvalve_homepage = https://github.com/jlouis/safetyvalve
  2989. pkg_safetyvalve_fetch = git
  2990. pkg_safetyvalve_repo = https://github.com/jlouis/safetyvalve
  2991. pkg_safetyvalve_commit = master
  2992. PACKAGES += seestar
  2993. pkg_seestar_name = seestar
  2994. pkg_seestar_description = The Erlang client for Cassandra 1.2+ binary protocol
  2995. pkg_seestar_homepage = https://github.com/iamaleksey/seestar
  2996. pkg_seestar_fetch = git
  2997. pkg_seestar_repo = https://github.com/iamaleksey/seestar
  2998. pkg_seestar_commit = master
  2999. PACKAGES += service
  3000. pkg_service_name = service
  3001. pkg_service_description = A minimal Erlang behavior for creating CloudI internal services
  3002. pkg_service_homepage = http://cloudi.org/
  3003. pkg_service_fetch = git
  3004. pkg_service_repo = https://github.com/CloudI/service
  3005. pkg_service_commit = master
  3006. PACKAGES += setup
  3007. pkg_setup_name = setup
  3008. pkg_setup_description = Generic setup utility for Erlang-based systems
  3009. pkg_setup_homepage = https://github.com/uwiger/setup
  3010. pkg_setup_fetch = git
  3011. pkg_setup_repo = https://github.com/uwiger/setup
  3012. pkg_setup_commit = master
  3013. PACKAGES += sext
  3014. pkg_sext_name = sext
  3015. pkg_sext_description = Sortable Erlang Term Serialization
  3016. pkg_sext_homepage = https://github.com/uwiger/sext
  3017. pkg_sext_fetch = git
  3018. pkg_sext_repo = https://github.com/uwiger/sext
  3019. pkg_sext_commit = master
  3020. PACKAGES += sfmt
  3021. pkg_sfmt_name = sfmt
  3022. pkg_sfmt_description = SFMT pseudo random number generator for Erlang.
  3023. pkg_sfmt_homepage = https://github.com/jj1bdx/sfmt-erlang
  3024. pkg_sfmt_fetch = git
  3025. pkg_sfmt_repo = https://github.com/jj1bdx/sfmt-erlang
  3026. pkg_sfmt_commit = master
  3027. PACKAGES += sgte
  3028. pkg_sgte_name = sgte
  3029. pkg_sgte_description = A simple Erlang Template Engine
  3030. pkg_sgte_homepage = https://github.com/filippo/sgte
  3031. pkg_sgte_fetch = git
  3032. pkg_sgte_repo = https://github.com/filippo/sgte
  3033. pkg_sgte_commit = master
  3034. PACKAGES += sheriff
  3035. pkg_sheriff_name = sheriff
  3036. pkg_sheriff_description = Parse transform for type based validation.
  3037. pkg_sheriff_homepage = http://ninenines.eu
  3038. pkg_sheriff_fetch = git
  3039. pkg_sheriff_repo = https://github.com/extend/sheriff
  3040. pkg_sheriff_commit = master
  3041. PACKAGES += shotgun
  3042. pkg_shotgun_name = shotgun
  3043. pkg_shotgun_description = better than just a gun
  3044. pkg_shotgun_homepage = https://github.com/inaka/shotgun
  3045. pkg_shotgun_fetch = git
  3046. pkg_shotgun_repo = https://github.com/inaka/shotgun
  3047. pkg_shotgun_commit = master
  3048. PACKAGES += sidejob
  3049. pkg_sidejob_name = sidejob
  3050. pkg_sidejob_description = Parallel worker and capacity limiting library for Erlang
  3051. pkg_sidejob_homepage = https://github.com/basho/sidejob
  3052. pkg_sidejob_fetch = git
  3053. pkg_sidejob_repo = https://github.com/basho/sidejob
  3054. pkg_sidejob_commit = master
  3055. PACKAGES += sieve
  3056. pkg_sieve_name = sieve
  3057. pkg_sieve_description = sieve is a simple TCP routing proxy (layer 7) in erlang
  3058. pkg_sieve_homepage = https://github.com/benoitc/sieve
  3059. pkg_sieve_fetch = git
  3060. pkg_sieve_repo = https://github.com/benoitc/sieve
  3061. pkg_sieve_commit = master
  3062. PACKAGES += sighandler
  3063. pkg_sighandler_name = sighandler
  3064. pkg_sighandler_description = Handle UNIX signals in Er lang
  3065. pkg_sighandler_homepage = https://github.com/jkingsbery/sighandler
  3066. pkg_sighandler_fetch = git
  3067. pkg_sighandler_repo = https://github.com/jkingsbery/sighandler
  3068. pkg_sighandler_commit = master
  3069. PACKAGES += simhash
  3070. pkg_simhash_name = simhash
  3071. pkg_simhash_description = Simhashing for Erlang -- hashing algorithm to find near-duplicates in binary data.
  3072. pkg_simhash_homepage = https://github.com/ferd/simhash
  3073. pkg_simhash_fetch = git
  3074. pkg_simhash_repo = https://github.com/ferd/simhash
  3075. pkg_simhash_commit = master
  3076. PACKAGES += simple_bridge
  3077. pkg_simple_bridge_name = simple_bridge
  3078. pkg_simple_bridge_description = A simple, standardized interface library to Erlang HTTP Servers.
  3079. pkg_simple_bridge_homepage = https://github.com/nitrogen/simple_bridge
  3080. pkg_simple_bridge_fetch = git
  3081. pkg_simple_bridge_repo = https://github.com/nitrogen/simple_bridge
  3082. pkg_simple_bridge_commit = master
  3083. PACKAGES += simple_oauth2
  3084. pkg_simple_oauth2_name = simple_oauth2
  3085. pkg_simple_oauth2_description = Simple erlang OAuth2 client module for any http server framework (Google, Facebook, Yandex, Vkontakte are preconfigured)
  3086. pkg_simple_oauth2_homepage = https://github.com/virtan/simple_oauth2
  3087. pkg_simple_oauth2_fetch = git
  3088. pkg_simple_oauth2_repo = https://github.com/virtan/simple_oauth2
  3089. pkg_simple_oauth2_commit = master
  3090. PACKAGES += skel
  3091. pkg_skel_name = skel
  3092. pkg_skel_description = A Streaming Process-based Skeleton Library for Erlang
  3093. pkg_skel_homepage = https://github.com/ParaPhrase/skel
  3094. pkg_skel_fetch = git
  3095. pkg_skel_repo = https://github.com/ParaPhrase/skel
  3096. pkg_skel_commit = master
  3097. PACKAGES += slack
  3098. pkg_slack_name = slack
  3099. pkg_slack_description = Minimal slack notification OTP library.
  3100. pkg_slack_homepage = https://github.com/DonBranson/slack
  3101. pkg_slack_fetch = git
  3102. pkg_slack_repo = https://github.com/DonBranson/slack.git
  3103. pkg_slack_commit = master
  3104. PACKAGES += smother
  3105. pkg_smother_name = smother
  3106. pkg_smother_description = Extended code coverage metrics for Erlang.
  3107. pkg_smother_homepage = https://ramsay-t.github.io/Smother/
  3108. pkg_smother_fetch = git
  3109. pkg_smother_repo = https://github.com/ramsay-t/Smother
  3110. pkg_smother_commit = master
  3111. PACKAGES += snappyer
  3112. pkg_snappyer_name = snappyer
  3113. pkg_snappyer_description = Snappy as nif for Erlang
  3114. pkg_snappyer_homepage = https://github.com/zmstone/snappyer
  3115. pkg_snappyer_fetch = git
  3116. pkg_snappyer_repo = https://github.com/zmstone/snappyer.git
  3117. pkg_snappyer_commit = master
  3118. PACKAGES += social
  3119. pkg_social_name = social
  3120. pkg_social_description = Cowboy handler for social login via OAuth2 providers
  3121. pkg_social_homepage = https://github.com/dvv/social
  3122. pkg_social_fetch = git
  3123. pkg_social_repo = https://github.com/dvv/social
  3124. pkg_social_commit = master
  3125. PACKAGES += spapi_router
  3126. pkg_spapi_router_name = spapi_router
  3127. pkg_spapi_router_description = Partially-connected Erlang clustering
  3128. pkg_spapi_router_homepage = https://github.com/spilgames/spapi-router
  3129. pkg_spapi_router_fetch = git
  3130. pkg_spapi_router_repo = https://github.com/spilgames/spapi-router
  3131. pkg_spapi_router_commit = master
  3132. PACKAGES += sqerl
  3133. pkg_sqerl_name = sqerl
  3134. pkg_sqerl_description = An Erlang-flavoured SQL DSL
  3135. pkg_sqerl_homepage = https://github.com/hairyhum/sqerl
  3136. pkg_sqerl_fetch = git
  3137. pkg_sqerl_repo = https://github.com/hairyhum/sqerl
  3138. pkg_sqerl_commit = master
  3139. PACKAGES += srly
  3140. pkg_srly_name = srly
  3141. pkg_srly_description = Native Erlang Unix serial interface
  3142. pkg_srly_homepage = https://github.com/msantos/srly
  3143. pkg_srly_fetch = git
  3144. pkg_srly_repo = https://github.com/msantos/srly
  3145. pkg_srly_commit = master
  3146. PACKAGES += sshrpc
  3147. pkg_sshrpc_name = sshrpc
  3148. pkg_sshrpc_description = Erlang SSH RPC module (experimental)
  3149. pkg_sshrpc_homepage = https://github.com/jj1bdx/sshrpc
  3150. pkg_sshrpc_fetch = git
  3151. pkg_sshrpc_repo = https://github.com/jj1bdx/sshrpc
  3152. pkg_sshrpc_commit = master
  3153. PACKAGES += stable
  3154. pkg_stable_name = stable
  3155. pkg_stable_description = Library of assorted helpers for Cowboy web server.
  3156. pkg_stable_homepage = https://github.com/dvv/stable
  3157. pkg_stable_fetch = git
  3158. pkg_stable_repo = https://github.com/dvv/stable
  3159. pkg_stable_commit = master
  3160. PACKAGES += statebox
  3161. pkg_statebox_name = statebox
  3162. pkg_statebox_description = Erlang state monad with merge/conflict-resolution capabilities. Useful for Riak.
  3163. pkg_statebox_homepage = https://github.com/mochi/statebox
  3164. pkg_statebox_fetch = git
  3165. pkg_statebox_repo = https://github.com/mochi/statebox
  3166. pkg_statebox_commit = master
  3167. PACKAGES += statebox_riak
  3168. pkg_statebox_riak_name = statebox_riak
  3169. pkg_statebox_riak_description = Convenience library that makes it easier to use statebox with riak, extracted from best practices in our production code at Mochi Media.
  3170. pkg_statebox_riak_homepage = https://github.com/mochi/statebox_riak
  3171. pkg_statebox_riak_fetch = git
  3172. pkg_statebox_riak_repo = https://github.com/mochi/statebox_riak
  3173. pkg_statebox_riak_commit = master
  3174. PACKAGES += statman
  3175. pkg_statman_name = statman
  3176. pkg_statman_description = Efficiently collect massive volumes of metrics inside the Erlang VM
  3177. pkg_statman_homepage = https://github.com/knutin/statman
  3178. pkg_statman_fetch = git
  3179. pkg_statman_repo = https://github.com/knutin/statman
  3180. pkg_statman_commit = master
  3181. PACKAGES += statsderl
  3182. pkg_statsderl_name = statsderl
  3183. pkg_statsderl_description = StatsD client (erlang)
  3184. pkg_statsderl_homepage = https://github.com/lpgauth/statsderl
  3185. pkg_statsderl_fetch = git
  3186. pkg_statsderl_repo = https://github.com/lpgauth/statsderl
  3187. pkg_statsderl_commit = master
  3188. PACKAGES += stdinout_pool
  3189. pkg_stdinout_pool_name = stdinout_pool
  3190. pkg_stdinout_pool_description = stdinout_pool : stuff goes in, stuff goes out. there's never any miscommunication.
  3191. pkg_stdinout_pool_homepage = https://github.com/mattsta/erlang-stdinout-pool
  3192. pkg_stdinout_pool_fetch = git
  3193. pkg_stdinout_pool_repo = https://github.com/mattsta/erlang-stdinout-pool
  3194. pkg_stdinout_pool_commit = master
  3195. PACKAGES += stockdb
  3196. pkg_stockdb_name = stockdb
  3197. pkg_stockdb_description = Database for storing Stock Exchange quotes in erlang
  3198. pkg_stockdb_homepage = https://github.com/maxlapshin/stockdb
  3199. pkg_stockdb_fetch = git
  3200. pkg_stockdb_repo = https://github.com/maxlapshin/stockdb
  3201. pkg_stockdb_commit = master
  3202. PACKAGES += stripe
  3203. pkg_stripe_name = stripe
  3204. pkg_stripe_description = Erlang interface to the stripe.com API
  3205. pkg_stripe_homepage = https://github.com/mattsta/stripe-erlang
  3206. pkg_stripe_fetch = git
  3207. pkg_stripe_repo = https://github.com/mattsta/stripe-erlang
  3208. pkg_stripe_commit = v1
  3209. PACKAGES += subproc
  3210. pkg_subproc_name = subproc
  3211. pkg_subproc_description = unix subprocess manager with {active,once|false} modes
  3212. pkg_subproc_homepage = http://dozzie.jarowit.net/trac/wiki/subproc
  3213. pkg_subproc_fetch = git
  3214. pkg_subproc_repo = https://github.com/dozzie/subproc
  3215. pkg_subproc_commit = v0.1.0
  3216. PACKAGES += supervisor3
  3217. pkg_supervisor3_name = supervisor3
  3218. pkg_supervisor3_description = OTP supervisor with additional strategies
  3219. pkg_supervisor3_homepage = https://github.com/klarna/supervisor3
  3220. pkg_supervisor3_fetch = git
  3221. pkg_supervisor3_repo = https://github.com/klarna/supervisor3.git
  3222. pkg_supervisor3_commit = master
  3223. PACKAGES += surrogate
  3224. pkg_surrogate_name = surrogate
  3225. pkg_surrogate_description = Proxy server written in erlang. Supports reverse proxy load balancing and forward proxy with http (including CONNECT), socks4, socks5, and transparent proxy modes.
  3226. pkg_surrogate_homepage = https://github.com/skruger/Surrogate
  3227. pkg_surrogate_fetch = git
  3228. pkg_surrogate_repo = https://github.com/skruger/Surrogate
  3229. pkg_surrogate_commit = master
  3230. PACKAGES += swab
  3231. pkg_swab_name = swab
  3232. pkg_swab_description = General purpose buffer handling module
  3233. pkg_swab_homepage = https://github.com/crownedgrouse/swab
  3234. pkg_swab_fetch = git
  3235. pkg_swab_repo = https://github.com/crownedgrouse/swab
  3236. pkg_swab_commit = master
  3237. PACKAGES += swarm
  3238. pkg_swarm_name = swarm
  3239. pkg_swarm_description = Fast and simple acceptor pool for Erlang
  3240. pkg_swarm_homepage = https://github.com/jeremey/swarm
  3241. pkg_swarm_fetch = git
  3242. pkg_swarm_repo = https://github.com/jeremey/swarm
  3243. pkg_swarm_commit = master
  3244. PACKAGES += switchboard
  3245. pkg_switchboard_name = switchboard
  3246. pkg_switchboard_description = A framework for processing email using worker plugins.
  3247. pkg_switchboard_homepage = https://github.com/thusfresh/switchboard
  3248. pkg_switchboard_fetch = git
  3249. pkg_switchboard_repo = https://github.com/thusfresh/switchboard
  3250. pkg_switchboard_commit = master
  3251. PACKAGES += syn
  3252. pkg_syn_name = syn
  3253. pkg_syn_description = A global Process Registry and Process Group manager for Erlang.
  3254. pkg_syn_homepage = https://github.com/ostinelli/syn
  3255. pkg_syn_fetch = git
  3256. pkg_syn_repo = https://github.com/ostinelli/syn
  3257. pkg_syn_commit = master
  3258. PACKAGES += sync
  3259. pkg_sync_name = sync
  3260. pkg_sync_description = On-the-fly recompiling and reloading in Erlang.
  3261. pkg_sync_homepage = https://github.com/rustyio/sync
  3262. pkg_sync_fetch = git
  3263. pkg_sync_repo = https://github.com/rustyio/sync
  3264. pkg_sync_commit = master
  3265. PACKAGES += syntaxerl
  3266. pkg_syntaxerl_name = syntaxerl
  3267. pkg_syntaxerl_description = Syntax checker for Erlang
  3268. pkg_syntaxerl_homepage = https://github.com/ten0s/syntaxerl
  3269. pkg_syntaxerl_fetch = git
  3270. pkg_syntaxerl_repo = https://github.com/ten0s/syntaxerl
  3271. pkg_syntaxerl_commit = master
  3272. PACKAGES += syslog
  3273. pkg_syslog_name = syslog
  3274. pkg_syslog_description = Erlang port driver for interacting with syslog via syslog(3)
  3275. pkg_syslog_homepage = https://github.com/Vagabond/erlang-syslog
  3276. pkg_syslog_fetch = git
  3277. pkg_syslog_repo = https://github.com/Vagabond/erlang-syslog
  3278. pkg_syslog_commit = master
  3279. PACKAGES += taskforce
  3280. pkg_taskforce_name = taskforce
  3281. pkg_taskforce_description = Erlang worker pools for controlled parallelisation of arbitrary tasks.
  3282. pkg_taskforce_homepage = https://github.com/g-andrade/taskforce
  3283. pkg_taskforce_fetch = git
  3284. pkg_taskforce_repo = https://github.com/g-andrade/taskforce
  3285. pkg_taskforce_commit = master
  3286. PACKAGES += tddreloader
  3287. pkg_tddreloader_name = tddreloader
  3288. pkg_tddreloader_description = Shell utility for recompiling, reloading, and testing code as it changes
  3289. pkg_tddreloader_homepage = https://github.com/version2beta/tddreloader
  3290. pkg_tddreloader_fetch = git
  3291. pkg_tddreloader_repo = https://github.com/version2beta/tddreloader
  3292. pkg_tddreloader_commit = master
  3293. PACKAGES += tempo
  3294. pkg_tempo_name = tempo
  3295. pkg_tempo_description = NIF-based date and time parsing and formatting for Erlang.
  3296. pkg_tempo_homepage = https://github.com/selectel/tempo
  3297. pkg_tempo_fetch = git
  3298. pkg_tempo_repo = https://github.com/selectel/tempo
  3299. pkg_tempo_commit = master
  3300. PACKAGES += ticktick
  3301. pkg_ticktick_name = ticktick
  3302. pkg_ticktick_description = Ticktick is an id generator for message service.
  3303. pkg_ticktick_homepage = https://github.com/ericliang/ticktick
  3304. pkg_ticktick_fetch = git
  3305. pkg_ticktick_repo = https://github.com/ericliang/ticktick
  3306. pkg_ticktick_commit = master
  3307. PACKAGES += tinymq
  3308. pkg_tinymq_name = tinymq
  3309. pkg_tinymq_description = TinyMQ - a diminutive, in-memory message queue
  3310. pkg_tinymq_homepage = https://github.com/ChicagoBoss/tinymq
  3311. pkg_tinymq_fetch = git
  3312. pkg_tinymq_repo = https://github.com/ChicagoBoss/tinymq
  3313. pkg_tinymq_commit = master
  3314. PACKAGES += tinymt
  3315. pkg_tinymt_name = tinymt
  3316. pkg_tinymt_description = TinyMT pseudo random number generator for Erlang.
  3317. pkg_tinymt_homepage = https://github.com/jj1bdx/tinymt-erlang
  3318. pkg_tinymt_fetch = git
  3319. pkg_tinymt_repo = https://github.com/jj1bdx/tinymt-erlang
  3320. pkg_tinymt_commit = master
  3321. PACKAGES += tirerl
  3322. pkg_tirerl_name = tirerl
  3323. pkg_tirerl_description = Erlang interface to Elastic Search
  3324. pkg_tirerl_homepage = https://github.com/inaka/tirerl
  3325. pkg_tirerl_fetch = git
  3326. pkg_tirerl_repo = https://github.com/inaka/tirerl
  3327. pkg_tirerl_commit = master
  3328. PACKAGES += toml
  3329. pkg_toml_name = toml
  3330. pkg_toml_description = TOML (0.4.0) config parser
  3331. pkg_toml_homepage = http://dozzie.jarowit.net/trac/wiki/TOML
  3332. pkg_toml_fetch = git
  3333. pkg_toml_repo = https://github.com/dozzie/toml
  3334. pkg_toml_commit = v0.2.0
  3335. PACKAGES += traffic_tools
  3336. pkg_traffic_tools_name = traffic_tools
  3337. pkg_traffic_tools_description = Simple traffic limiting library
  3338. pkg_traffic_tools_homepage = https://github.com/systra/traffic_tools
  3339. pkg_traffic_tools_fetch = git
  3340. pkg_traffic_tools_repo = https://github.com/systra/traffic_tools
  3341. pkg_traffic_tools_commit = master
  3342. PACKAGES += trails
  3343. pkg_trails_name = trails
  3344. pkg_trails_description = A couple of improvements over Cowboy Routes
  3345. pkg_trails_homepage = http://inaka.github.io/cowboy-trails/
  3346. pkg_trails_fetch = git
  3347. pkg_trails_repo = https://github.com/inaka/cowboy-trails
  3348. pkg_trails_commit = master
  3349. PACKAGES += trane
  3350. pkg_trane_name = trane
  3351. pkg_trane_description = SAX style broken HTML parser in Erlang
  3352. pkg_trane_homepage = https://github.com/massemanet/trane
  3353. pkg_trane_fetch = git
  3354. pkg_trane_repo = https://github.com/massemanet/trane
  3355. pkg_trane_commit = master
  3356. PACKAGES += transit
  3357. pkg_transit_name = transit
  3358. pkg_transit_description = transit format for erlang
  3359. pkg_transit_homepage = https://github.com/isaiah/transit-erlang
  3360. pkg_transit_fetch = git
  3361. pkg_transit_repo = https://github.com/isaiah/transit-erlang
  3362. pkg_transit_commit = master
  3363. PACKAGES += trie
  3364. pkg_trie_name = trie
  3365. pkg_trie_description = Erlang Trie Implementation
  3366. pkg_trie_homepage = https://github.com/okeuday/trie
  3367. pkg_trie_fetch = git
  3368. pkg_trie_repo = https://github.com/okeuday/trie
  3369. pkg_trie_commit = master
  3370. PACKAGES += triq
  3371. pkg_triq_name = triq
  3372. pkg_triq_description = Trifork QuickCheck
  3373. pkg_triq_homepage = https://github.com/triqng/triq
  3374. pkg_triq_fetch = git
  3375. pkg_triq_repo = https://github.com/triqng/triq.git
  3376. pkg_triq_commit = master
  3377. PACKAGES += tunctl
  3378. pkg_tunctl_name = tunctl
  3379. pkg_tunctl_description = Erlang TUN/TAP interface
  3380. pkg_tunctl_homepage = https://github.com/msantos/tunctl
  3381. pkg_tunctl_fetch = git
  3382. pkg_tunctl_repo = https://github.com/msantos/tunctl
  3383. pkg_tunctl_commit = master
  3384. PACKAGES += twerl
  3385. pkg_twerl_name = twerl
  3386. pkg_twerl_description = Erlang client for the Twitter Streaming API
  3387. pkg_twerl_homepage = https://github.com/lucaspiller/twerl
  3388. pkg_twerl_fetch = git
  3389. pkg_twerl_repo = https://github.com/lucaspiller/twerl
  3390. pkg_twerl_commit = oauth
  3391. PACKAGES += twitter_erlang
  3392. pkg_twitter_erlang_name = twitter_erlang
  3393. pkg_twitter_erlang_description = An Erlang twitter client
  3394. pkg_twitter_erlang_homepage = https://github.com/ngerakines/erlang_twitter
  3395. pkg_twitter_erlang_fetch = git
  3396. pkg_twitter_erlang_repo = https://github.com/ngerakines/erlang_twitter
  3397. pkg_twitter_erlang_commit = master
  3398. PACKAGES += ucol_nif
  3399. pkg_ucol_nif_name = ucol_nif
  3400. pkg_ucol_nif_description = ICU based collation Erlang module
  3401. pkg_ucol_nif_homepage = https://github.com/refuge/ucol_nif
  3402. pkg_ucol_nif_fetch = git
  3403. pkg_ucol_nif_repo = https://github.com/refuge/ucol_nif
  3404. pkg_ucol_nif_commit = master
  3405. PACKAGES += unicorn
  3406. pkg_unicorn_name = unicorn
  3407. pkg_unicorn_description = Generic configuration server
  3408. pkg_unicorn_homepage = https://github.com/shizzard/unicorn
  3409. pkg_unicorn_fetch = git
  3410. pkg_unicorn_repo = https://github.com/shizzard/unicorn
  3411. pkg_unicorn_commit = master
  3412. PACKAGES += unsplit
  3413. pkg_unsplit_name = unsplit
  3414. pkg_unsplit_description = Resolves conflicts in Mnesia after network splits
  3415. pkg_unsplit_homepage = https://github.com/uwiger/unsplit
  3416. pkg_unsplit_fetch = git
  3417. pkg_unsplit_repo = https://github.com/uwiger/unsplit
  3418. pkg_unsplit_commit = master
  3419. PACKAGES += uuid
  3420. pkg_uuid_name = uuid
  3421. pkg_uuid_description = Erlang UUID Implementation
  3422. pkg_uuid_homepage = https://github.com/okeuday/uuid
  3423. pkg_uuid_fetch = git
  3424. pkg_uuid_repo = https://github.com/okeuday/uuid
  3425. pkg_uuid_commit = master
  3426. PACKAGES += ux
  3427. pkg_ux_name = ux
  3428. pkg_ux_description = Unicode eXtention for Erlang (Strings, Collation)
  3429. pkg_ux_homepage = https://github.com/erlang-unicode/ux
  3430. pkg_ux_fetch = git
  3431. pkg_ux_repo = https://github.com/erlang-unicode/ux
  3432. pkg_ux_commit = master
  3433. PACKAGES += vert
  3434. pkg_vert_name = vert
  3435. pkg_vert_description = Erlang binding to libvirt virtualization API
  3436. pkg_vert_homepage = https://github.com/msantos/erlang-libvirt
  3437. pkg_vert_fetch = git
  3438. pkg_vert_repo = https://github.com/msantos/erlang-libvirt
  3439. pkg_vert_commit = master
  3440. PACKAGES += verx
  3441. pkg_verx_name = verx
  3442. pkg_verx_description = Erlang implementation of the libvirtd remote protocol
  3443. pkg_verx_homepage = https://github.com/msantos/verx
  3444. pkg_verx_fetch = git
  3445. pkg_verx_repo = https://github.com/msantos/verx
  3446. pkg_verx_commit = master
  3447. PACKAGES += vmq_acl
  3448. pkg_vmq_acl_name = vmq_acl
  3449. pkg_vmq_acl_description = Component of VerneMQ: A distributed MQTT message broker
  3450. pkg_vmq_acl_homepage = https://verne.mq/
  3451. pkg_vmq_acl_fetch = git
  3452. pkg_vmq_acl_repo = https://github.com/erlio/vmq_acl
  3453. pkg_vmq_acl_commit = master
  3454. PACKAGES += vmq_bridge
  3455. pkg_vmq_bridge_name = vmq_bridge
  3456. pkg_vmq_bridge_description = Component of VerneMQ: A distributed MQTT message broker
  3457. pkg_vmq_bridge_homepage = https://verne.mq/
  3458. pkg_vmq_bridge_fetch = git
  3459. pkg_vmq_bridge_repo = https://github.com/erlio/vmq_bridge
  3460. pkg_vmq_bridge_commit = master
  3461. PACKAGES += vmq_graphite
  3462. pkg_vmq_graphite_name = vmq_graphite
  3463. pkg_vmq_graphite_description = Component of VerneMQ: A distributed MQTT message broker
  3464. pkg_vmq_graphite_homepage = https://verne.mq/
  3465. pkg_vmq_graphite_fetch = git
  3466. pkg_vmq_graphite_repo = https://github.com/erlio/vmq_graphite
  3467. pkg_vmq_graphite_commit = master
  3468. PACKAGES += vmq_passwd
  3469. pkg_vmq_passwd_name = vmq_passwd
  3470. pkg_vmq_passwd_description = Component of VerneMQ: A distributed MQTT message broker
  3471. pkg_vmq_passwd_homepage = https://verne.mq/
  3472. pkg_vmq_passwd_fetch = git
  3473. pkg_vmq_passwd_repo = https://github.com/erlio/vmq_passwd
  3474. pkg_vmq_passwd_commit = master
  3475. PACKAGES += vmq_server
  3476. pkg_vmq_server_name = vmq_server
  3477. pkg_vmq_server_description = Component of VerneMQ: A distributed MQTT message broker
  3478. pkg_vmq_server_homepage = https://verne.mq/
  3479. pkg_vmq_server_fetch = git
  3480. pkg_vmq_server_repo = https://github.com/erlio/vmq_server
  3481. pkg_vmq_server_commit = master
  3482. PACKAGES += vmq_snmp
  3483. pkg_vmq_snmp_name = vmq_snmp
  3484. pkg_vmq_snmp_description = Component of VerneMQ: A distributed MQTT message broker
  3485. pkg_vmq_snmp_homepage = https://verne.mq/
  3486. pkg_vmq_snmp_fetch = git
  3487. pkg_vmq_snmp_repo = https://github.com/erlio/vmq_snmp
  3488. pkg_vmq_snmp_commit = master
  3489. PACKAGES += vmq_systree
  3490. pkg_vmq_systree_name = vmq_systree
  3491. pkg_vmq_systree_description = Component of VerneMQ: A distributed MQTT message broker
  3492. pkg_vmq_systree_homepage = https://verne.mq/
  3493. pkg_vmq_systree_fetch = git
  3494. pkg_vmq_systree_repo = https://github.com/erlio/vmq_systree
  3495. pkg_vmq_systree_commit = master
  3496. PACKAGES += vmstats
  3497. pkg_vmstats_name = vmstats
  3498. pkg_vmstats_description = tiny Erlang app that works in conjunction with statsderl in order to generate information on the Erlang VM for graphite logs.
  3499. pkg_vmstats_homepage = https://github.com/ferd/vmstats
  3500. pkg_vmstats_fetch = git
  3501. pkg_vmstats_repo = https://github.com/ferd/vmstats
  3502. pkg_vmstats_commit = master
  3503. PACKAGES += walrus
  3504. pkg_walrus_name = walrus
  3505. pkg_walrus_description = Walrus - Mustache-like Templating
  3506. pkg_walrus_homepage = https://github.com/devinus/walrus
  3507. pkg_walrus_fetch = git
  3508. pkg_walrus_repo = https://github.com/devinus/walrus
  3509. pkg_walrus_commit = master
  3510. PACKAGES += webmachine
  3511. pkg_webmachine_name = webmachine
  3512. pkg_webmachine_description = A REST-based system for building web applications.
  3513. pkg_webmachine_homepage = https://github.com/basho/webmachine
  3514. pkg_webmachine_fetch = git
  3515. pkg_webmachine_repo = https://github.com/basho/webmachine
  3516. pkg_webmachine_commit = master
  3517. PACKAGES += websocket_client
  3518. pkg_websocket_client_name = websocket_client
  3519. pkg_websocket_client_description = Erlang websocket client (ws and wss supported)
  3520. pkg_websocket_client_homepage = https://github.com/jeremyong/websocket_client
  3521. pkg_websocket_client_fetch = git
  3522. pkg_websocket_client_repo = https://github.com/jeremyong/websocket_client
  3523. pkg_websocket_client_commit = master
  3524. PACKAGES += worker_pool
  3525. pkg_worker_pool_name = worker_pool
  3526. pkg_worker_pool_description = a simple erlang worker pool
  3527. pkg_worker_pool_homepage = https://github.com/inaka/worker_pool
  3528. pkg_worker_pool_fetch = git
  3529. pkg_worker_pool_repo = https://github.com/inaka/worker_pool
  3530. pkg_worker_pool_commit = master
  3531. PACKAGES += wrangler
  3532. pkg_wrangler_name = wrangler
  3533. pkg_wrangler_description = Import of the Wrangler svn repository.
  3534. pkg_wrangler_homepage = http://www.cs.kent.ac.uk/projects/wrangler/Home.html
  3535. pkg_wrangler_fetch = git
  3536. pkg_wrangler_repo = https://github.com/RefactoringTools/wrangler
  3537. pkg_wrangler_commit = master
  3538. PACKAGES += wsock
  3539. pkg_wsock_name = wsock
  3540. pkg_wsock_description = Erlang library to build WebSocket clients and servers
  3541. pkg_wsock_homepage = https://github.com/madtrick/wsock
  3542. pkg_wsock_fetch = git
  3543. pkg_wsock_repo = https://github.com/madtrick/wsock
  3544. pkg_wsock_commit = master
  3545. PACKAGES += xhttpc
  3546. pkg_xhttpc_name = xhttpc
  3547. pkg_xhttpc_description = Extensible HTTP Client for Erlang
  3548. pkg_xhttpc_homepage = https://github.com/seriyps/xhttpc
  3549. pkg_xhttpc_fetch = git
  3550. pkg_xhttpc_repo = https://github.com/seriyps/xhttpc
  3551. pkg_xhttpc_commit = master
  3552. PACKAGES += xref_runner
  3553. pkg_xref_runner_name = xref_runner
  3554. pkg_xref_runner_description = Erlang Xref Runner (inspired in rebar xref)
  3555. pkg_xref_runner_homepage = https://github.com/inaka/xref_runner
  3556. pkg_xref_runner_fetch = git
  3557. pkg_xref_runner_repo = https://github.com/inaka/xref_runner
  3558. pkg_xref_runner_commit = master
  3559. PACKAGES += yamerl
  3560. pkg_yamerl_name = yamerl
  3561. pkg_yamerl_description = YAML 1.2 parser in pure Erlang
  3562. pkg_yamerl_homepage = https://github.com/yakaz/yamerl
  3563. pkg_yamerl_fetch = git
  3564. pkg_yamerl_repo = https://github.com/yakaz/yamerl
  3565. pkg_yamerl_commit = master
  3566. PACKAGES += yamler
  3567. pkg_yamler_name = yamler
  3568. pkg_yamler_description = libyaml-based yaml loader for Erlang
  3569. pkg_yamler_homepage = https://github.com/goertzenator/yamler
  3570. pkg_yamler_fetch = git
  3571. pkg_yamler_repo = https://github.com/goertzenator/yamler
  3572. pkg_yamler_commit = master
  3573. PACKAGES += yaws
  3574. pkg_yaws_name = yaws
  3575. pkg_yaws_description = Yaws webserver
  3576. pkg_yaws_homepage = http://yaws.hyber.org
  3577. pkg_yaws_fetch = git
  3578. pkg_yaws_repo = https://github.com/klacke/yaws
  3579. pkg_yaws_commit = master
  3580. PACKAGES += zab_engine
  3581. pkg_zab_engine_name = zab_engine
  3582. pkg_zab_engine_description = zab propotocol implement by erlang
  3583. pkg_zab_engine_homepage = https://github.com/xinmingyao/zab_engine
  3584. pkg_zab_engine_fetch = git
  3585. pkg_zab_engine_repo = https://github.com/xinmingyao/zab_engine
  3586. pkg_zab_engine_commit = master
  3587. PACKAGES += zabbix_sender
  3588. pkg_zabbix_sender_name = zabbix_sender
  3589. pkg_zabbix_sender_description = Zabbix trapper for sending data to Zabbix in pure Erlang
  3590. pkg_zabbix_sender_homepage = https://github.com/stalkermn/zabbix_sender
  3591. pkg_zabbix_sender_fetch = git
  3592. pkg_zabbix_sender_repo = https://github.com/stalkermn/zabbix_sender.git
  3593. pkg_zabbix_sender_commit = master
  3594. PACKAGES += zeta
  3595. pkg_zeta_name = zeta
  3596. pkg_zeta_description = HTTP access log parser in Erlang
  3597. pkg_zeta_homepage = https://github.com/s1n4/zeta
  3598. pkg_zeta_fetch = git
  3599. pkg_zeta_repo = https://github.com/s1n4/zeta
  3600. pkg_zeta_commit = master
  3601. PACKAGES += zippers
  3602. pkg_zippers_name = zippers
  3603. pkg_zippers_description = A library for functional zipper data structures in Erlang. Read more on zippers
  3604. pkg_zippers_homepage = https://github.com/ferd/zippers
  3605. pkg_zippers_fetch = git
  3606. pkg_zippers_repo = https://github.com/ferd/zippers
  3607. pkg_zippers_commit = master
  3608. PACKAGES += zlists
  3609. pkg_zlists_name = zlists
  3610. pkg_zlists_description = Erlang lazy lists library.
  3611. pkg_zlists_homepage = https://github.com/vjache/erlang-zlists
  3612. pkg_zlists_fetch = git
  3613. pkg_zlists_repo = https://github.com/vjache/erlang-zlists
  3614. pkg_zlists_commit = master
  3615. PACKAGES += zraft_lib
  3616. pkg_zraft_lib_name = zraft_lib
  3617. pkg_zraft_lib_description = Erlang raft consensus protocol implementation
  3618. pkg_zraft_lib_homepage = https://github.com/dreyk/zraft_lib
  3619. pkg_zraft_lib_fetch = git
  3620. pkg_zraft_lib_repo = https://github.com/dreyk/zraft_lib
  3621. pkg_zraft_lib_commit = master
  3622. PACKAGES += zucchini
  3623. pkg_zucchini_name = zucchini
  3624. pkg_zucchini_description = An Erlang INI parser
  3625. pkg_zucchini_homepage = https://github.com/devinus/zucchini
  3626. pkg_zucchini_fetch = git
  3627. pkg_zucchini_repo = https://github.com/devinus/zucchini
  3628. pkg_zucchini_commit = master
  3629. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  3630. # This file is part of erlang.mk and subject to the terms of the ISC License.
  3631. .PHONY: search
  3632. define pkg_print
  3633. $(verbose) printf "%s\n" \
  3634. $(if $(call core_eq,$(1),$(pkg_$(1)_name)),,"Pkg name: $(1)") \
  3635. "App name: $(pkg_$(1)_name)" \
  3636. "Description: $(pkg_$(1)_description)" \
  3637. "Home page: $(pkg_$(1)_homepage)" \
  3638. "Fetch with: $(pkg_$(1)_fetch)" \
  3639. "Repository: $(pkg_$(1)_repo)" \
  3640. "Commit: $(pkg_$(1)_commit)" \
  3641. ""
  3642. endef
  3643. search:
  3644. ifdef q
  3645. $(foreach p,$(PACKAGES), \
  3646. $(if $(findstring $(call core_lc,$(q)),$(call core_lc,$(pkg_$(p)_name) $(pkg_$(p)_description))), \
  3647. $(call pkg_print,$(p))))
  3648. else
  3649. $(foreach p,$(PACKAGES),$(call pkg_print,$(p)))
  3650. endif
  3651. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  3652. # This file is part of erlang.mk and subject to the terms of the ISC License.
  3653. .PHONY: distclean-deps clean-tmp-deps.log
  3654. # Configuration.
  3655. ifdef OTP_DEPS
  3656. $(warning The variable OTP_DEPS is deprecated in favor of LOCAL_DEPS.)
  3657. endif
  3658. IGNORE_DEPS ?=
  3659. export IGNORE_DEPS
  3660. APPS_DIR ?= $(CURDIR)/apps
  3661. export APPS_DIR
  3662. DEPS_DIR ?= $(CURDIR)/deps
  3663. export DEPS_DIR
  3664. REBAR_DEPS_DIR = $(DEPS_DIR)
  3665. export REBAR_DEPS_DIR
  3666. # External "early" plugins (see core/plugins.mk for regular plugins).
  3667. # They both use the core_dep_plugin macro.
  3668. define core_dep_plugin
  3669. ifeq ($(2),$(PROJECT))
  3670. -include $$(patsubst $(PROJECT)/%,%,$(1))
  3671. else
  3672. -include $(DEPS_DIR)/$(1)
  3673. $(DEPS_DIR)/$(1): $(DEPS_DIR)/$(2) ;
  3674. endif
  3675. endef
  3676. DEP_EARLY_PLUGINS ?=
  3677. $(foreach p,$(DEP_EARLY_PLUGINS),\
  3678. $(eval $(if $(findstring /,$p),\
  3679. $(call core_dep_plugin,$p,$(firstword $(subst /, ,$p))),\
  3680. $(call core_dep_plugin,$p/early-plugins.mk,$p))))
  3681. dep_name = $(if $(dep_$(1)),$(1),$(if $(pkg_$(1)_name),$(pkg_$(1)_name),$(1)))
  3682. dep_repo = $(patsubst git://github.com/%,https://github.com/%, \
  3683. $(if $(dep_$(1)),$(word 2,$(dep_$(1))),$(pkg_$(1)_repo)))
  3684. dep_commit = $(if $(dep_$(1)_commit),$(dep_$(1)_commit),$(if $(dep_$(1)),$(word 3,$(dep_$(1))),$(pkg_$(1)_commit)))
  3685. LOCAL_DEPS_DIRS = $(foreach a,$(LOCAL_DEPS),$(if $(wildcard $(APPS_DIR)/$(a)),$(APPS_DIR)/$(a)))
  3686. ALL_APPS_DIRS = $(if $(wildcard $(APPS_DIR)/),$(filter-out $(APPS_DIR),$(shell find $(APPS_DIR) -maxdepth 1 -type d)))
  3687. ALL_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(foreach dep,$(filter-out $(IGNORE_DEPS),$(BUILD_DEPS) $(DEPS)),$(call dep_name,$(dep))))
  3688. ifeq ($(filter $(APPS_DIR) $(DEPS_DIR),$(subst :, ,$(ERL_LIBS))),)
  3689. ifeq ($(ERL_LIBS),)
  3690. ERL_LIBS = $(APPS_DIR):$(DEPS_DIR)
  3691. else
  3692. ERL_LIBS := $(ERL_LIBS):$(APPS_DIR):$(DEPS_DIR)
  3693. endif
  3694. endif
  3695. export ERL_LIBS
  3696. export NO_AUTOPATCH
  3697. # Verbosity.
  3698. dep_verbose_0 = @echo " DEP " $(1);
  3699. dep_verbose_2 = set -x;
  3700. dep_verbose = $(dep_verbose_$(V))
  3701. # Core targets.
  3702. apps:: $(ALL_APPS_DIRS) clean-tmp-deps.log
  3703. ifeq ($(IS_APP)$(IS_DEP),)
  3704. $(verbose) rm -f $(ERLANG_MK_TMP)/apps.log
  3705. endif
  3706. $(verbose) mkdir -p $(ERLANG_MK_TMP)
  3707. # Create ebin directory for all apps to make sure Erlang recognizes them
  3708. # as proper OTP applications when using -include_lib. This is a temporary
  3709. # fix, a proper fix would be to compile apps/* in the right order.
  3710. ifndef IS_APP
  3711. $(verbose) set -e; for dep in $(ALL_APPS_DIRS) ; do \
  3712. mkdir -p $$dep/ebin; \
  3713. done
  3714. endif
  3715. # at the toplevel: if LOCAL_DEPS is defined with at least one local app, only
  3716. # compile that list of apps. otherwise, compile everything.
  3717. # within an app: compile all LOCAL_DEPS that are (uncompiled) local apps
  3718. $(verbose) set -e; for dep in $(if $(LOCAL_DEPS_DIRS)$(IS_APP),$(LOCAL_DEPS_DIRS),$(ALL_APPS_DIRS)) ; do \
  3719. if grep -qs ^$$dep$$ $(ERLANG_MK_TMP)/apps.log; then \
  3720. :; \
  3721. else \
  3722. echo $$dep >> $(ERLANG_MK_TMP)/apps.log; \
  3723. $(MAKE) -C $$dep IS_APP=1; \
  3724. fi \
  3725. done
  3726. clean-tmp-deps.log:
  3727. ifeq ($(IS_APP)$(IS_DEP),)
  3728. $(verbose) rm -f $(ERLANG_MK_TMP)/deps.log
  3729. endif
  3730. ifneq ($(SKIP_DEPS),)
  3731. deps::
  3732. else
  3733. deps:: $(ALL_DEPS_DIRS) apps clean-tmp-deps.log
  3734. $(verbose) mkdir -p $(ERLANG_MK_TMP)
  3735. $(verbose) set -e; for dep in $(ALL_DEPS_DIRS) ; do \
  3736. if grep -qs ^$$dep$$ $(ERLANG_MK_TMP)/deps.log; then \
  3737. :; \
  3738. else \
  3739. echo $$dep >> $(ERLANG_MK_TMP)/deps.log; \
  3740. if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ]; then \
  3741. $(MAKE) -C $$dep IS_DEP=1; \
  3742. else \
  3743. echo "Error: No Makefile to build dependency $$dep." >&2; \
  3744. exit 2; \
  3745. fi \
  3746. fi \
  3747. done
  3748. endif
  3749. # Deps related targets.
  3750. # @todo rename GNUmakefile and makefile into Makefile first, if they exist
  3751. # While Makefile file could be GNUmakefile or makefile,
  3752. # in practice only Makefile is needed so far.
  3753. define dep_autopatch
  3754. if [ -f $(DEPS_DIR)/$(1)/erlang.mk ]; then \
  3755. rm -rf $(DEPS_DIR)/$1/ebin/; \
  3756. $(call erlang,$(call dep_autopatch_appsrc.erl,$(1))); \
  3757. $(call dep_autopatch_erlang_mk,$(1)); \
  3758. elif [ -f $(DEPS_DIR)/$(1)/Makefile ]; then \
  3759. if [ -f $(DEPS_DIR)/$1/rebar.lock ]; then \
  3760. $(call dep_autopatch2,$1); \
  3761. elif [ 0 != `grep -c "include ../\w*\.mk" $(DEPS_DIR)/$(1)/Makefile` ]; then \
  3762. $(call dep_autopatch2,$(1)); \
  3763. elif [ 0 != `grep -ci "^[^#].*rebar" $(DEPS_DIR)/$(1)/Makefile` ]; then \
  3764. $(call dep_autopatch2,$(1)); \
  3765. elif [ -n "`find $(DEPS_DIR)/$(1)/ -type f -name \*.mk -not -name erlang.mk -exec grep -i "^[^#].*rebar" '{}' \;`" ]; then \
  3766. $(call dep_autopatch2,$(1)); \
  3767. fi \
  3768. else \
  3769. if [ ! -d $(DEPS_DIR)/$(1)/src/ ]; then \
  3770. $(call dep_autopatch_noop,$(1)); \
  3771. else \
  3772. $(call dep_autopatch2,$(1)); \
  3773. fi \
  3774. fi
  3775. endef
  3776. define dep_autopatch2
  3777. ! test -f $(DEPS_DIR)/$1/ebin/$1.app || \
  3778. mv -n $(DEPS_DIR)/$1/ebin/$1.app $(DEPS_DIR)/$1/src/$1.app.src; \
  3779. rm -f $(DEPS_DIR)/$1/ebin/$1.app; \
  3780. if [ -f $(DEPS_DIR)/$1/src/$1.app.src.script ]; then \
  3781. $(call erlang,$(call dep_autopatch_appsrc_script.erl,$(1))); \
  3782. fi; \
  3783. $(call erlang,$(call dep_autopatch_appsrc.erl,$(1))); \
  3784. if [ -f $(DEPS_DIR)/$(1)/rebar -o -f $(DEPS_DIR)/$(1)/rebar.config -o -f $(DEPS_DIR)/$(1)/rebar.config.script -o -f $(DEPS_DIR)/$1/rebar.lock ]; then \
  3785. $(call dep_autopatch_fetch_rebar); \
  3786. $(call dep_autopatch_rebar,$(1)); \
  3787. else \
  3788. $(call dep_autopatch_gen,$(1)); \
  3789. fi
  3790. endef
  3791. define dep_autopatch_noop
  3792. printf "noop:\n" > $(DEPS_DIR)/$(1)/Makefile
  3793. endef
  3794. # Replace "include erlang.mk" with a line that will load the parent Erlang.mk
  3795. # if given. Do it for all 3 possible Makefile file names.
  3796. ifeq ($(NO_AUTOPATCH_ERLANG_MK),)
  3797. define dep_autopatch_erlang_mk
  3798. for f in Makefile makefile GNUmakefile; do \
  3799. if [ -f $(DEPS_DIR)/$1/$$f ]; then \
  3800. sed -i.bak s/'include *erlang.mk'/'include $$(if $$(ERLANG_MK_FILENAME),$$(ERLANG_MK_FILENAME),erlang.mk)'/ $(DEPS_DIR)/$1/$$f; \
  3801. fi \
  3802. done
  3803. endef
  3804. else
  3805. define dep_autopatch_erlang_mk
  3806. :
  3807. endef
  3808. endif
  3809. define dep_autopatch_gen
  3810. printf "%s\n" \
  3811. "ERLC_OPTS = +debug_info" \
  3812. "include ../../erlang.mk" > $(DEPS_DIR)/$(1)/Makefile
  3813. endef
  3814. define dep_autopatch_fetch_rebar
  3815. mkdir -p $(ERLANG_MK_TMP); \
  3816. if [ ! -d $(ERLANG_MK_TMP)/rebar ]; then \
  3817. git clone -q -n -- https://github.com/rebar/rebar $(ERLANG_MK_TMP)/rebar; \
  3818. cd $(ERLANG_MK_TMP)/rebar; \
  3819. git checkout -q 576e12171ab8d69b048b827b92aa65d067deea01; \
  3820. $(MAKE); \
  3821. cd -; \
  3822. fi
  3823. endef
  3824. define dep_autopatch_rebar
  3825. if [ -f $(DEPS_DIR)/$(1)/Makefile ]; then \
  3826. mv $(DEPS_DIR)/$(1)/Makefile $(DEPS_DIR)/$(1)/Makefile.orig.mk; \
  3827. fi; \
  3828. $(call erlang,$(call dep_autopatch_rebar.erl,$(1))); \
  3829. rm -f $(DEPS_DIR)/$(1)/ebin/$(1).app
  3830. endef
  3831. define dep_autopatch_rebar.erl
  3832. application:load(rebar),
  3833. application:set_env(rebar, log_level, debug),
  3834. rmemo:start(),
  3835. Conf1 = case file:consult("$(call core_native_path,$(DEPS_DIR)/$1/rebar.config)") of
  3836. {ok, Conf0} -> Conf0;
  3837. _ -> []
  3838. end,
  3839. {Conf, OsEnv} = fun() ->
  3840. case filelib:is_file("$(call core_native_path,$(DEPS_DIR)/$1/rebar.config.script)") of
  3841. false -> {Conf1, []};
  3842. true ->
  3843. Bindings0 = erl_eval:new_bindings(),
  3844. Bindings1 = erl_eval:add_binding('CONFIG', Conf1, Bindings0),
  3845. Bindings = erl_eval:add_binding('SCRIPT', "$(call core_native_path,$(DEPS_DIR)/$1/rebar.config.script)", Bindings1),
  3846. Before = os:getenv(),
  3847. {ok, Conf2} = file:script("$(call core_native_path,$(DEPS_DIR)/$1/rebar.config.script)", Bindings),
  3848. {Conf2, lists:foldl(fun(E, Acc) -> lists:delete(E, Acc) end, os:getenv(), Before)}
  3849. end
  3850. end(),
  3851. Write = fun (Text) ->
  3852. file:write_file("$(call core_native_path,$(DEPS_DIR)/$1/Makefile)", Text, [append])
  3853. end,
  3854. Escape = fun (Text) ->
  3855. re:replace(Text, "\\\\$$", "\$$$$", [global, {return, list}])
  3856. end,
  3857. Write("IGNORE_DEPS += edown eper eunit_formatters meck node_package "
  3858. "rebar_lock_deps_plugin rebar_vsn_plugin reltool_util\n"),
  3859. Write("C_SRC_DIR = /path/do/not/exist\n"),
  3860. Write("C_SRC_TYPE = rebar\n"),
  3861. Write("DRV_CFLAGS = -fPIC\nexport DRV_CFLAGS\n"),
  3862. Write(["ERLANG_ARCH = ", rebar_utils:wordsize(), "\nexport ERLANG_ARCH\n"]),
  3863. ToList = fun
  3864. (V) when is_atom(V) -> atom_to_list(V);
  3865. (V) when is_list(V) -> "'\\"" ++ V ++ "\\"'"
  3866. end,
  3867. fun() ->
  3868. Write("ERLC_OPTS = +debug_info\nexport ERLC_OPTS\n"),
  3869. case lists:keyfind(erl_opts, 1, Conf) of
  3870. false -> ok;
  3871. {_, ErlOpts} ->
  3872. lists:foreach(fun
  3873. ({d, D}) ->
  3874. Write("ERLC_OPTS += -D" ++ ToList(D) ++ "=1\n");
  3875. ({d, DKey, DVal}) ->
  3876. Write("ERLC_OPTS += -D" ++ ToList(DKey) ++ "=" ++ ToList(DVal) ++ "\n");
  3877. ({i, I}) ->
  3878. Write(["ERLC_OPTS += -I ", I, "\n"]);
  3879. ({platform_define, Regex, D}) ->
  3880. case rebar_utils:is_arch(Regex) of
  3881. true -> Write("ERLC_OPTS += -D" ++ ToList(D) ++ "=1\n");
  3882. false -> ok
  3883. end;
  3884. ({parse_transform, PT}) ->
  3885. Write("ERLC_OPTS += +'{parse_transform, " ++ ToList(PT) ++ "}'\n");
  3886. (_) -> ok
  3887. end, ErlOpts)
  3888. end,
  3889. Write("\n")
  3890. end(),
  3891. fun() ->
  3892. File = case lists:keyfind(deps, 1, Conf) of
  3893. false -> [];
  3894. {_, Deps} ->
  3895. [begin case case Dep of
  3896. {N, S} when is_atom(N), is_list(S) -> {N, {hex, S}};
  3897. {N, S} when is_tuple(S) -> {N, S};
  3898. {N, _, S} -> {N, S};
  3899. {N, _, S, _} -> {N, S};
  3900. _ -> false
  3901. end of
  3902. false -> ok;
  3903. {Name, Source} ->
  3904. {Method, Repo, Commit} = case Source of
  3905. {hex, V} -> {hex, V, undefined};
  3906. {git, R} -> {git, R, master};
  3907. {M, R, {branch, C}} -> {M, R, C};
  3908. {M, R, {ref, C}} -> {M, R, C};
  3909. {M, R, {tag, C}} -> {M, R, C};
  3910. {M, R, C} -> {M, R, C}
  3911. end,
  3912. Write(io_lib:format("DEPS += ~s\ndep_~s = ~s ~s ~s~n", [Name, Name, Method, Repo, Commit]))
  3913. end end || Dep <- Deps]
  3914. end
  3915. end(),
  3916. fun() ->
  3917. case lists:keyfind(erl_first_files, 1, Conf) of
  3918. false -> ok;
  3919. {_, Files} ->
  3920. Names = [[" ", case lists:reverse(F) of
  3921. "lre." ++ Elif -> lists:reverse(Elif);
  3922. Elif -> lists:reverse(Elif)
  3923. end] || "src/" ++ F <- Files],
  3924. Write(io_lib:format("COMPILE_FIRST +=~s\n", [Names]))
  3925. end
  3926. end(),
  3927. Write("\n\nrebar_dep: preprocess pre-deps deps pre-app app\n"),
  3928. Write("\npreprocess::\n"),
  3929. Write("\npre-deps::\n"),
  3930. Write("\npre-app::\n"),
  3931. PatchHook = fun(Cmd) ->
  3932. case Cmd of
  3933. "make -C" ++ Cmd1 -> "$$\(MAKE) -C" ++ Escape(Cmd1);
  3934. "gmake -C" ++ Cmd1 -> "$$\(MAKE) -C" ++ Escape(Cmd1);
  3935. "make " ++ Cmd1 -> "$$\(MAKE) -f Makefile.orig.mk " ++ Escape(Cmd1);
  3936. "gmake " ++ Cmd1 -> "$$\(MAKE) -f Makefile.orig.mk " ++ Escape(Cmd1);
  3937. _ -> Escape(Cmd)
  3938. end
  3939. end,
  3940. fun() ->
  3941. case lists:keyfind(pre_hooks, 1, Conf) of
  3942. false -> ok;
  3943. {_, Hooks} ->
  3944. [case H of
  3945. {'get-deps', Cmd} ->
  3946. Write("\npre-deps::\n\t" ++ PatchHook(Cmd) ++ "\n");
  3947. {compile, Cmd} ->
  3948. Write("\npre-app::\n\tCC=$$\(CC) " ++ PatchHook(Cmd) ++ "\n");
  3949. {Regex, compile, Cmd} ->
  3950. case rebar_utils:is_arch(Regex) of
  3951. true -> Write("\npre-app::\n\tCC=$$\(CC) " ++ PatchHook(Cmd) ++ "\n");
  3952. false -> ok
  3953. end;
  3954. _ -> ok
  3955. end || H <- Hooks]
  3956. end
  3957. end(),
  3958. ShellToMk = fun(V) ->
  3959. re:replace(re:replace(V, "(\\\\$$)(\\\\w*)", "\\\\1(\\\\2)", [global]),
  3960. "-Werror\\\\b", "", [{return, list}, global])
  3961. end,
  3962. PortSpecs = fun() ->
  3963. case lists:keyfind(port_specs, 1, Conf) of
  3964. false ->
  3965. case filelib:is_dir("$(call core_native_path,$(DEPS_DIR)/$1/c_src)") of
  3966. false -> [];
  3967. true ->
  3968. [{"priv/" ++ proplists:get_value(so_name, Conf, "$(1)_drv.so"),
  3969. proplists:get_value(port_sources, Conf, ["c_src/*.c"]), []}]
  3970. end;
  3971. {_, Specs} ->
  3972. lists:flatten([case S of
  3973. {Output, Input} -> {ShellToMk(Output), Input, []};
  3974. {Regex, Output, Input} ->
  3975. case rebar_utils:is_arch(Regex) of
  3976. true -> {ShellToMk(Output), Input, []};
  3977. false -> []
  3978. end;
  3979. {Regex, Output, Input, [{env, Env}]} ->
  3980. case rebar_utils:is_arch(Regex) of
  3981. true -> {ShellToMk(Output), Input, Env};
  3982. false -> []
  3983. end
  3984. end || S <- Specs])
  3985. end
  3986. end(),
  3987. PortSpecWrite = fun (Text) ->
  3988. file:write_file("$(call core_native_path,$(DEPS_DIR)/$1/c_src/Makefile.erlang.mk)", Text, [append])
  3989. end,
  3990. case PortSpecs of
  3991. [] -> ok;
  3992. _ ->
  3993. Write("\npre-app::\n\t$$\(MAKE) -f c_src/Makefile.erlang.mk\n"),
  3994. PortSpecWrite(io_lib:format("ERL_CFLAGS ?= -finline-functions -Wall -fPIC -I \\"~s/erts-~s/include\\" -I \\"~s\\"\n",
  3995. [code:root_dir(), erlang:system_info(version), code:lib_dir(erl_interface, include)])),
  3996. PortSpecWrite(io_lib:format("ERL_LDFLAGS ?= -L \\"~s\\" -lerl_interface -lei\n",
  3997. [code:lib_dir(erl_interface, lib)])),
  3998. [PortSpecWrite(["\n", E, "\n"]) || E <- OsEnv],
  3999. FilterEnv = fun(Env) ->
  4000. lists:flatten([case E of
  4001. {_, _} -> E;
  4002. {Regex, K, V} ->
  4003. case rebar_utils:is_arch(Regex) of
  4004. true -> {K, V};
  4005. false -> []
  4006. end
  4007. end || E <- Env])
  4008. end,
  4009. MergeEnv = fun(Env) ->
  4010. lists:foldl(fun ({K, V}, Acc) ->
  4011. case lists:keyfind(K, 1, Acc) of
  4012. false -> [{K, rebar_utils:expand_env_variable(V, K, "")}|Acc];
  4013. {_, V0} -> [{K, rebar_utils:expand_env_variable(V, K, V0)}|Acc]
  4014. end
  4015. end, [], Env)
  4016. end,
  4017. PortEnv = case lists:keyfind(port_env, 1, Conf) of
  4018. false -> [];
  4019. {_, PortEnv0} -> FilterEnv(PortEnv0)
  4020. end,
  4021. PortSpec = fun ({Output, Input0, Env}) ->
  4022. filelib:ensure_dir("$(call core_native_path,$(DEPS_DIR)/$1/)" ++ Output),
  4023. Input = [[" ", I] || I <- Input0],
  4024. PortSpecWrite([
  4025. [["\n", K, " = ", ShellToMk(V)] || {K, V} <- lists:reverse(MergeEnv(PortEnv))],
  4026. case $(PLATFORM) of
  4027. darwin -> "\n\nLDFLAGS += -flat_namespace -undefined suppress";
  4028. _ -> ""
  4029. end,
  4030. "\n\nall:: ", Output, "\n\n",
  4031. "%.o: %.c\n\t$$\(CC) -c -o $$\@ $$\< $$\(CFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
  4032. "%.o: %.C\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
  4033. "%.o: %.cc\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
  4034. "%.o: %.cpp\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
  4035. [[Output, ": ", K, " += ", ShellToMk(V), "\n"] || {K, V} <- lists:reverse(MergeEnv(FilterEnv(Env)))],
  4036. Output, ": $$\(foreach ext,.c .C .cc .cpp,",
  4037. "$$\(patsubst %$$\(ext),%.o,$$\(filter %$$\(ext),$$\(wildcard", Input, "))))\n",
  4038. "\t$$\(CC) -o $$\@ $$\? $$\(LDFLAGS) $$\(ERL_LDFLAGS) $$\(DRV_LDFLAGS) $$\(EXE_LDFLAGS)",
  4039. case {filename:extension(Output), $(PLATFORM)} of
  4040. {[], _} -> "\n";
  4041. {_, darwin} -> "\n";
  4042. _ -> " -shared\n"
  4043. end])
  4044. end,
  4045. [PortSpec(S) || S <- PortSpecs]
  4046. end,
  4047. Write("\ninclude $$\(if $$\(ERLANG_MK_FILENAME),$$\(ERLANG_MK_FILENAME),erlang.mk)"),
  4048. RunPlugin = fun(Plugin, Step) ->
  4049. case erlang:function_exported(Plugin, Step, 2) of
  4050. false -> ok;
  4051. true ->
  4052. c:cd("$(call core_native_path,$(DEPS_DIR)/$1/)"),
  4053. Ret = Plugin:Step({config, "", Conf, dict:new(), dict:new(), dict:new(),
  4054. dict:store(base_dir, "", dict:new())}, undefined),
  4055. io:format("rebar plugin ~p step ~p ret ~p~n", [Plugin, Step, Ret])
  4056. end
  4057. end,
  4058. fun() ->
  4059. case lists:keyfind(plugins, 1, Conf) of
  4060. false -> ok;
  4061. {_, Plugins} ->
  4062. [begin
  4063. case lists:keyfind(deps, 1, Conf) of
  4064. false -> ok;
  4065. {_, Deps} ->
  4066. case lists:keyfind(P, 1, Deps) of
  4067. false -> ok;
  4068. _ ->
  4069. Path = "$(call core_native_path,$(DEPS_DIR)/)" ++ atom_to_list(P),
  4070. io:format("~s", [os:cmd("$(MAKE) -C $(call core_native_path,$(DEPS_DIR)/$1) " ++ Path)]),
  4071. io:format("~s", [os:cmd("$(MAKE) -C " ++ Path ++ " IS_DEP=1")]),
  4072. code:add_patha(Path ++ "/ebin")
  4073. end
  4074. end
  4075. end || P <- Plugins],
  4076. [case code:load_file(P) of
  4077. {module, P} -> ok;
  4078. _ ->
  4079. case lists:keyfind(plugin_dir, 1, Conf) of
  4080. false -> ok;
  4081. {_, PluginsDir} ->
  4082. ErlFile = "$(call core_native_path,$(DEPS_DIR)/$1/)" ++ PluginsDir ++ "/" ++ atom_to_list(P) ++ ".erl",
  4083. {ok, P, Bin} = compile:file(ErlFile, [binary]),
  4084. {module, P} = code:load_binary(P, ErlFile, Bin)
  4085. end
  4086. end || P <- Plugins],
  4087. [RunPlugin(P, preprocess) || P <- Plugins],
  4088. [RunPlugin(P, pre_compile) || P <- Plugins],
  4089. [RunPlugin(P, compile) || P <- Plugins]
  4090. end
  4091. end(),
  4092. halt()
  4093. endef
  4094. define dep_autopatch_appsrc_script.erl
  4095. AppSrc = "$(call core_native_path,$(DEPS_DIR)/$1/src/$1.app.src)",
  4096. AppSrcScript = AppSrc ++ ".script",
  4097. {ok, Conf0} = file:consult(AppSrc),
  4098. Bindings0 = erl_eval:new_bindings(),
  4099. Bindings1 = erl_eval:add_binding('CONFIG', Conf0, Bindings0),
  4100. Bindings = erl_eval:add_binding('SCRIPT', AppSrcScript, Bindings1),
  4101. {ok, [Conf]} = file:script(AppSrcScript, Bindings),
  4102. ok = file:write_file(AppSrc, io_lib:format("~p.~n", [Conf])),
  4103. halt()
  4104. endef
  4105. define dep_autopatch_appsrc.erl
  4106. AppSrcOut = "$(call core_native_path,$(DEPS_DIR)/$1/src/$1.app.src)",
  4107. AppSrcIn = case filelib:is_regular(AppSrcOut) of false -> "$(call core_native_path,$(DEPS_DIR)/$1/ebin/$1.app)"; true -> AppSrcOut end,
  4108. case filelib:is_regular(AppSrcIn) of
  4109. false -> ok;
  4110. true ->
  4111. {ok, [{application, $(1), L0}]} = file:consult(AppSrcIn),
  4112. L1 = lists:keystore(modules, 1, L0, {modules, []}),
  4113. L2 = case lists:keyfind(vsn, 1, L1) of
  4114. {_, git} -> lists:keyreplace(vsn, 1, L1, {vsn, "git"});
  4115. {_, {cmd, _}} -> lists:keyreplace(vsn, 1, L1, {vsn, "cmd"});
  4116. _ -> L1
  4117. end,
  4118. L3 = case lists:keyfind(registered, 1, L2) of false -> [{registered, []}|L2]; _ -> L2 end,
  4119. ok = file:write_file(AppSrcOut, io_lib:format("~p.~n", [{application, $(1), L3}])),
  4120. case AppSrcOut of AppSrcIn -> ok; _ -> ok = file:delete(AppSrcIn) end
  4121. end,
  4122. halt()
  4123. endef
  4124. define dep_fetch_git
  4125. git clone -q -n -- $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); \
  4126. cd $(DEPS_DIR)/$(call dep_name,$(1)) && git checkout -q $(call dep_commit,$(1));
  4127. endef
  4128. define dep_fetch_git-submodule
  4129. git submodule update --init -- $(DEPS_DIR)/$1;
  4130. endef
  4131. define dep_fetch_hg
  4132. hg clone -q -U $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); \
  4133. cd $(DEPS_DIR)/$(call dep_name,$(1)) && hg update -q $(call dep_commit,$(1));
  4134. endef
  4135. define dep_fetch_svn
  4136. svn checkout -q $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1));
  4137. endef
  4138. define dep_fetch_cp
  4139. cp -R $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1));
  4140. endef
  4141. define dep_fetch_ln
  4142. ln -s $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1));
  4143. endef
  4144. # Hex only has a package version. No need to look in the Erlang.mk packages.
  4145. define dep_fetch_hex
  4146. mkdir -p $(ERLANG_MK_TMP)/hex $(DEPS_DIR)/$1; \
  4147. $(call core_http_get,$(ERLANG_MK_TMP)/hex/$1.tar,\
  4148. https://s3.amazonaws.com/s3.hex.pm/tarballs/$1-$(strip $(word 2,$(dep_$1))).tar); \
  4149. tar -xOf $(ERLANG_MK_TMP)/hex/$1.tar contents.tar.gz | tar -C $(DEPS_DIR)/$1 -xzf -;
  4150. endef
  4151. define dep_fetch_fail
  4152. echo "Error: Unknown or invalid dependency: $(1)." >&2; \
  4153. exit 78;
  4154. endef
  4155. # Kept for compatibility purposes with older Erlang.mk configuration.
  4156. define dep_fetch_legacy
  4157. $(warning WARNING: '$(1)' dependency configuration uses deprecated format.) \
  4158. git clone -q -n -- $(word 1,$(dep_$(1))) $(DEPS_DIR)/$(1); \
  4159. cd $(DEPS_DIR)/$(1) && git checkout -q $(if $(word 2,$(dep_$(1))),$(word 2,$(dep_$(1))),master);
  4160. endef
  4161. define dep_fetch
  4162. $(if $(dep_$(1)), \
  4163. $(if $(dep_fetch_$(word 1,$(dep_$(1)))), \
  4164. $(word 1,$(dep_$(1))), \
  4165. $(if $(IS_DEP),legacy,fail)), \
  4166. $(if $(filter $(1),$(PACKAGES)), \
  4167. $(pkg_$(1)_fetch), \
  4168. fail))
  4169. endef
  4170. define dep_target
  4171. $(DEPS_DIR)/$(call dep_name,$1):
  4172. $(eval DEP_NAME := $(call dep_name,$1))
  4173. $(eval DEP_STR := $(if $(filter-out $1,$(DEP_NAME)),$1,"$1 ($(DEP_NAME))"))
  4174. $(verbose) if test -d $(APPS_DIR)/$(DEP_NAME); then \
  4175. echo "Error: Dependency" $(DEP_STR) "conflicts with application found in $(APPS_DIR)/$(DEP_NAME)." >&2; \
  4176. exit 17; \
  4177. fi
  4178. $(verbose) mkdir -p $(DEPS_DIR)
  4179. $(dep_verbose) $(call dep_fetch_$(strip $(call dep_fetch,$(1))),$(1))
  4180. $(verbose) if [ -f $(DEPS_DIR)/$(1)/configure.ac -o -f $(DEPS_DIR)/$(1)/configure.in ] \
  4181. && [ ! -f $(DEPS_DIR)/$(1)/configure ]; then \
  4182. echo " AUTO " $(1); \
  4183. cd $(DEPS_DIR)/$(1) && autoreconf -Wall -vif -I m4; \
  4184. fi
  4185. - $(verbose) if [ -f $(DEPS_DIR)/$(DEP_NAME)/configure ]; then \
  4186. echo " CONF " $(DEP_STR); \
  4187. cd $(DEPS_DIR)/$(DEP_NAME) && ./configure; \
  4188. fi
  4189. ifeq ($(filter $(1),$(NO_AUTOPATCH)),)
  4190. $(verbose) if [ "$(1)" = "amqp_client" -a "$(RABBITMQ_CLIENT_PATCH)" ]; then \
  4191. if [ ! -d $(DEPS_DIR)/rabbitmq-codegen ]; then \
  4192. echo " PATCH Downloading rabbitmq-codegen"; \
  4193. git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \
  4194. fi; \
  4195. if [ ! -d $(DEPS_DIR)/rabbitmq-server ]; then \
  4196. echo " PATCH Downloading rabbitmq-server"; \
  4197. git clone https://github.com/rabbitmq/rabbitmq-server.git $(DEPS_DIR)/rabbitmq-server; \
  4198. fi; \
  4199. ln -s $(DEPS_DIR)/amqp_client/deps/rabbit_common-0.0.0 $(DEPS_DIR)/rabbit_common; \
  4200. elif [ "$(1)" = "rabbit" -a "$(RABBITMQ_SERVER_PATCH)" ]; then \
  4201. if [ ! -d $(DEPS_DIR)/rabbitmq-codegen ]; then \
  4202. echo " PATCH Downloading rabbitmq-codegen"; \
  4203. git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \
  4204. fi \
  4205. else \
  4206. $$(call dep_autopatch,$(DEP_NAME)) \
  4207. fi
  4208. endif
  4209. endef
  4210. $(foreach dep,$(BUILD_DEPS) $(DEPS),$(eval $(call dep_target,$(dep))))
  4211. ifndef IS_APP
  4212. clean:: clean-apps
  4213. clean-apps:
  4214. $(verbose) set -e; for dep in $(ALL_APPS_DIRS) ; do \
  4215. $(MAKE) -C $$dep clean IS_APP=1; \
  4216. done
  4217. distclean:: distclean-apps
  4218. distclean-apps:
  4219. $(verbose) set -e; for dep in $(ALL_APPS_DIRS) ; do \
  4220. $(MAKE) -C $$dep distclean IS_APP=1; \
  4221. done
  4222. endif
  4223. ifndef SKIP_DEPS
  4224. distclean:: distclean-deps
  4225. distclean-deps:
  4226. $(gen_verbose) rm -rf $(DEPS_DIR)
  4227. endif
  4228. # Forward-declare variables used in core/deps-tools.mk. This is required
  4229. # in case plugins use them.
  4230. ERLANG_MK_RECURSIVE_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-deps-list.log
  4231. ERLANG_MK_RECURSIVE_DOC_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-doc-deps-list.log
  4232. ERLANG_MK_RECURSIVE_REL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-rel-deps-list.log
  4233. ERLANG_MK_RECURSIVE_TEST_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-test-deps-list.log
  4234. ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-shell-deps-list.log
  4235. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  4236. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4237. # Verbosity.
  4238. proto_verbose_0 = @echo " PROTO " $(filter %.proto,$(?F));
  4239. proto_verbose = $(proto_verbose_$(V))
  4240. # Core targets.
  4241. define compile_proto
  4242. $(verbose) mkdir -p ebin/ include/
  4243. $(proto_verbose) $(call erlang,$(call compile_proto.erl,$(1)))
  4244. $(proto_verbose) erlc +debug_info -o ebin/ ebin/*.erl
  4245. $(verbose) rm ebin/*.erl
  4246. endef
  4247. define compile_proto.erl
  4248. [begin
  4249. protobuffs_compile:generate_source(F,
  4250. [{output_include_dir, "./include"},
  4251. {output_src_dir, "./ebin"}])
  4252. end || F <- string:tokens("$(1)", " ")],
  4253. halt().
  4254. endef
  4255. ifneq ($(wildcard src/),)
  4256. ebin/$(PROJECT).app:: $(sort $(call core_find,src/,*.proto))
  4257. $(if $(strip $?),$(call compile_proto,$?))
  4258. endif
  4259. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  4260. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4261. .PHONY: clean-app
  4262. # Configuration.
  4263. ERLC_OPTS ?= -Werror +debug_info +warn_export_vars +warn_shadow_vars \
  4264. +warn_obsolete_guard # +bin_opt_info +warn_export_all +warn_missing_spec
  4265. COMPILE_FIRST ?=
  4266. COMPILE_FIRST_PATHS = $(addprefix src/,$(addsuffix .erl,$(COMPILE_FIRST)))
  4267. ERLC_EXCLUDE ?=
  4268. ERLC_EXCLUDE_PATHS = $(addprefix src/,$(addsuffix .erl,$(ERLC_EXCLUDE)))
  4269. ERLC_ASN1_OPTS ?=
  4270. ERLC_MIB_OPTS ?=
  4271. COMPILE_MIB_FIRST ?=
  4272. COMPILE_MIB_FIRST_PATHS = $(addprefix mibs/,$(addsuffix .mib,$(COMPILE_MIB_FIRST)))
  4273. # Verbosity.
  4274. app_verbose_0 = @echo " APP " $(PROJECT);
  4275. app_verbose_2 = set -x;
  4276. app_verbose = $(app_verbose_$(V))
  4277. appsrc_verbose_0 = @echo " APP " $(PROJECT).app.src;
  4278. appsrc_verbose_2 = set -x;
  4279. appsrc_verbose = $(appsrc_verbose_$(V))
  4280. makedep_verbose_0 = @echo " DEPEND" $(PROJECT).d;
  4281. makedep_verbose_2 = set -x;
  4282. makedep_verbose = $(makedep_verbose_$(V))
  4283. erlc_verbose_0 = @echo " ERLC " $(filter-out $(patsubst %,%.erl,$(ERLC_EXCLUDE)),\
  4284. $(filter %.erl %.core,$(?F)));
  4285. erlc_verbose_2 = set -x;
  4286. erlc_verbose = $(erlc_verbose_$(V))
  4287. xyrl_verbose_0 = @echo " XYRL " $(filter %.xrl %.yrl,$(?F));
  4288. xyrl_verbose_2 = set -x;
  4289. xyrl_verbose = $(xyrl_verbose_$(V))
  4290. asn1_verbose_0 = @echo " ASN1 " $(filter %.asn1,$(?F));
  4291. asn1_verbose_2 = set -x;
  4292. asn1_verbose = $(asn1_verbose_$(V))
  4293. mib_verbose_0 = @echo " MIB " $(filter %.bin %.mib,$(?F));
  4294. mib_verbose_2 = set -x;
  4295. mib_verbose = $(mib_verbose_$(V))
  4296. ifneq ($(wildcard src/),)
  4297. # Targets.
  4298. ifeq ($(wildcard ebin/test),)
  4299. app:: deps $(PROJECT).d
  4300. $(verbose) $(MAKE) --no-print-directory app-build
  4301. else
  4302. app:: clean deps $(PROJECT).d
  4303. $(verbose) $(MAKE) --no-print-directory app-build
  4304. endif
  4305. ifeq ($(wildcard src/$(PROJECT_MOD).erl),)
  4306. define app_file
  4307. {application, '$(PROJECT)', [
  4308. {description, "$(PROJECT_DESCRIPTION)"},
  4309. {vsn, "$(PROJECT_VERSION)"},$(if $(IS_DEP),
  4310. {id$(comma)$(space)"$(1)"}$(comma))
  4311. {modules, [$(call comma_list,$(2))]},
  4312. {registered, []},
  4313. {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(foreach dep,$(DEPS),$(call dep_name,$(dep))))]},
  4314. {env, $(subst \,\\,$(PROJECT_ENV))}$(if $(findstring {,$(PROJECT_APP_EXTRA_KEYS)),$(comma)$(newline)$(tab)$(subst \,\\,$(PROJECT_APP_EXTRA_KEYS)),)
  4315. ]}.
  4316. endef
  4317. else
  4318. define app_file
  4319. {application, '$(PROJECT)', [
  4320. {description, "$(PROJECT_DESCRIPTION)"},
  4321. {vsn, "$(PROJECT_VERSION)"},$(if $(IS_DEP),
  4322. {id$(comma)$(space)"$(1)"}$(comma))
  4323. {modules, [$(call comma_list,$(2))]},
  4324. {registered, [$(call comma_list,$(PROJECT)_sup $(PROJECT_REGISTERED))]},
  4325. {applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(foreach dep,$(DEPS),$(call dep_name,$(dep))))]},
  4326. {mod, {$(PROJECT_MOD), []}},
  4327. {env, $(subst \,\\,$(PROJECT_ENV))}$(if $(findstring {,$(PROJECT_APP_EXTRA_KEYS)),$(comma)$(newline)$(tab)$(subst \,\\,$(PROJECT_APP_EXTRA_KEYS)),)
  4328. ]}.
  4329. endef
  4330. endif
  4331. app-build: ebin/$(PROJECT).app
  4332. $(verbose) :
  4333. # Source files.
  4334. ALL_SRC_FILES := $(sort $(call core_find,src/,*))
  4335. ERL_FILES := $(filter %.erl,$(ALL_SRC_FILES))
  4336. CORE_FILES := $(filter %.core,$(ALL_SRC_FILES))
  4337. # ASN.1 files.
  4338. ifneq ($(wildcard asn1/),)
  4339. ASN1_FILES = $(sort $(call core_find,asn1/,*.asn1))
  4340. ERL_FILES += $(addprefix src/,$(patsubst %.asn1,%.erl,$(notdir $(ASN1_FILES))))
  4341. define compile_asn1
  4342. $(verbose) mkdir -p include/
  4343. $(asn1_verbose) erlc -v -I include/ -o asn1/ +noobj $(ERLC_ASN1_OPTS) $(1)
  4344. $(verbose) mv asn1/*.erl src/
  4345. $(verbose) mv asn1/*.hrl include/
  4346. $(verbose) mv asn1/*.asn1db include/
  4347. endef
  4348. $(PROJECT).d:: $(ASN1_FILES)
  4349. $(if $(strip $?),$(call compile_asn1,$?))
  4350. endif
  4351. # SNMP MIB files.
  4352. ifneq ($(wildcard mibs/),)
  4353. MIB_FILES = $(sort $(call core_find,mibs/,*.mib))
  4354. $(PROJECT).d:: $(COMPILE_MIB_FIRST_PATHS) $(MIB_FILES)
  4355. $(verbose) mkdir -p include/ priv/mibs/
  4356. $(mib_verbose) erlc -v $(ERLC_MIB_OPTS) -o priv/mibs/ -I priv/mibs/ $?
  4357. $(mib_verbose) erlc -o include/ -- $(addprefix priv/mibs/,$(patsubst %.mib,%.bin,$(notdir $?)))
  4358. endif
  4359. # Leex and Yecc files.
  4360. XRL_FILES := $(filter %.xrl,$(ALL_SRC_FILES))
  4361. XRL_ERL_FILES = $(addprefix src/,$(patsubst %.xrl,%.erl,$(notdir $(XRL_FILES))))
  4362. ERL_FILES += $(XRL_ERL_FILES)
  4363. YRL_FILES := $(filter %.yrl,$(ALL_SRC_FILES))
  4364. YRL_ERL_FILES = $(addprefix src/,$(patsubst %.yrl,%.erl,$(notdir $(YRL_FILES))))
  4365. ERL_FILES += $(YRL_ERL_FILES)
  4366. $(PROJECT).d:: $(XRL_FILES) $(YRL_FILES)
  4367. $(if $(strip $?),$(xyrl_verbose) erlc -v -o src/ $(YRL_ERLC_OPTS) $?)
  4368. # Erlang and Core Erlang files.
  4369. define makedep.erl
  4370. E = ets:new(makedep, [bag]),
  4371. G = digraph:new([acyclic]),
  4372. ErlFiles = lists:usort(string:tokens("$(ERL_FILES)", " ")),
  4373. Modules = [{list_to_atom(filename:basename(F, ".erl")), F} || F <- ErlFiles],
  4374. Add = fun (Mod, Dep) ->
  4375. case lists:keyfind(Dep, 1, Modules) of
  4376. false -> ok;
  4377. {_, DepFile} ->
  4378. {_, ModFile} = lists:keyfind(Mod, 1, Modules),
  4379. ets:insert(E, {ModFile, DepFile}),
  4380. digraph:add_vertex(G, Mod),
  4381. digraph:add_vertex(G, Dep),
  4382. digraph:add_edge(G, Mod, Dep)
  4383. end
  4384. end,
  4385. AddHd = fun (F, Mod, DepFile) ->
  4386. case file:open(DepFile, [read]) of
  4387. {error, enoent} -> ok;
  4388. {ok, Fd} ->
  4389. F(F, Fd, Mod),
  4390. {_, ModFile} = lists:keyfind(Mod, 1, Modules),
  4391. ets:insert(E, {ModFile, DepFile})
  4392. end
  4393. end,
  4394. Attr = fun
  4395. (F, Mod, behavior, Dep) -> Add(Mod, Dep);
  4396. (F, Mod, behaviour, Dep) -> Add(Mod, Dep);
  4397. (F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep);
  4398. (F, Mod, compile, Opts) when is_list(Opts) ->
  4399. case proplists:get_value(parse_transform, Opts) of
  4400. undefined -> ok;
  4401. Dep -> Add(Mod, Dep)
  4402. end;
  4403. (F, Mod, include, Hrl) ->
  4404. case filelib:is_file("include/" ++ Hrl) of
  4405. true -> AddHd(F, Mod, "include/" ++ Hrl);
  4406. false ->
  4407. case filelib:is_file("src/" ++ Hrl) of
  4408. true -> AddHd(F, Mod, "src/" ++ Hrl);
  4409. false -> false
  4410. end
  4411. end;
  4412. (F, Mod, include_lib, "$1/include/" ++ Hrl) -> AddHd(F, Mod, "include/" ++ Hrl);
  4413. (F, Mod, include_lib, Hrl) -> AddHd(F, Mod, "include/" ++ Hrl);
  4414. (F, Mod, import, {Imp, _}) ->
  4415. IsFile =
  4416. case lists:keyfind(Imp, 1, Modules) of
  4417. false -> false;
  4418. {_, FilePath} -> filelib:is_file(FilePath)
  4419. end,
  4420. case IsFile of
  4421. false -> ok;
  4422. true -> Add(Mod, Imp)
  4423. end;
  4424. (_, _, _, _) -> ok
  4425. end,
  4426. MakeDepend = fun(F, Fd, Mod) ->
  4427. case io:parse_erl_form(Fd, undefined) of
  4428. {ok, {attribute, _, Key, Value}, _} ->
  4429. Attr(F, Mod, Key, Value),
  4430. F(F, Fd, Mod);
  4431. {eof, _} ->
  4432. file:close(Fd);
  4433. _ ->
  4434. F(F, Fd, Mod)
  4435. end
  4436. end,
  4437. [begin
  4438. Mod = list_to_atom(filename:basename(F, ".erl")),
  4439. {ok, Fd} = file:open(F, [read]),
  4440. MakeDepend(MakeDepend, Fd, Mod)
  4441. end || F <- ErlFiles],
  4442. Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))),
  4443. CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)],
  4444. TargetPath = fun(Target) ->
  4445. case lists:keyfind(Target, 1, Modules) of
  4446. false -> "";
  4447. {_, DepFile} ->
  4448. DirSubname = tl(string:tokens(filename:dirname(DepFile), "/")),
  4449. string:join(DirSubname ++ [atom_to_list(Target)], "/")
  4450. end
  4451. end,
  4452. ok = file:write_file("$(1)", [
  4453. [[F, "::", [[" ", D] || D <- Deps], "; @touch \$$@\n"] || {F, Deps} <- Depend],
  4454. "\nCOMPILE_FIRST +=", [[" ", TargetPath(CF)] || CF <- CompileFirst], "\n"
  4455. ]),
  4456. halt()
  4457. endef
  4458. ifeq ($(if $(NO_MAKEDEP),$(wildcard $(PROJECT).d),),)
  4459. $(PROJECT).d:: $(ERL_FILES) $(call core_find,include/,*.hrl) $(MAKEFILE_LIST)
  4460. $(makedep_verbose) $(call erlang,$(call makedep.erl,$@))
  4461. endif
  4462. ifneq ($(words $(ERL_FILES) $(CORE_FILES) $(ASN1_FILES) $(MIB_FILES) $(XRL_FILES) $(YRL_FILES)),0)
  4463. # Rebuild everything when the Makefile changes.
  4464. $(ERLANG_MK_TMP)/last-makefile-change: $(MAKEFILE_LIST)
  4465. $(verbose) mkdir -p $(ERLANG_MK_TMP)
  4466. $(verbose) if test -f $@; then \
  4467. touch $(ERL_FILES) $(CORE_FILES) $(ASN1_FILES) $(MIB_FILES) $(XRL_FILES) $(YRL_FILES); \
  4468. touch -c $(PROJECT).d; \
  4469. fi
  4470. $(verbose) touch $@
  4471. $(ERL_FILES) $(CORE_FILES) $(ASN1_FILES) $(MIB_FILES) $(XRL_FILES) $(YRL_FILES):: $(ERLANG_MK_TMP)/last-makefile-change
  4472. ebin/$(PROJECT).app:: $(ERLANG_MK_TMP)/last-makefile-change
  4473. endif
  4474. include $(wildcard $(PROJECT).d)
  4475. ebin/$(PROJECT).app:: ebin/
  4476. ebin/:
  4477. $(verbose) mkdir -p ebin/
  4478. define compile_erl
  4479. $(erlc_verbose) erlc -v $(if $(IS_DEP),$(filter-out -Werror,$(ERLC_OPTS)),$(ERLC_OPTS)) -o ebin/ \
  4480. -pa ebin/ -I include/ $(filter-out $(ERLC_EXCLUDE_PATHS),$(COMPILE_FIRST_PATHS) $(1))
  4481. endef
  4482. ebin/$(PROJECT).app:: $(ERL_FILES) $(CORE_FILES) $(wildcard src/$(PROJECT).app.src)
  4483. $(eval FILES_TO_COMPILE := $(filter-out src/$(PROJECT).app.src,$?))
  4484. $(if $(strip $(FILES_TO_COMPILE)),$(call compile_erl,$(FILES_TO_COMPILE)))
  4485. $(eval GITDESCRIBE := $(shell git describe --dirty --abbrev=7 --tags --always --first-parent 2>/dev/null || true))
  4486. $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename \
  4487. $(filter-out $(ERLC_EXCLUDE_PATHS),$(ERL_FILES) $(CORE_FILES) $(BEAM_FILES)))))))
  4488. ifeq ($(wildcard src/$(PROJECT).app.src),)
  4489. $(app_verbose) printf '$(subst %,%%,$(subst $(newline),\n,$(subst ','\'',$(call app_file,$(GITDESCRIBE),$(MODULES)))))' \
  4490. > ebin/$(PROJECT).app
  4491. else
  4492. $(verbose) if [ -z "$$(grep -e '^[^%]*{\s*modules\s*,' src/$(PROJECT).app.src)" ]; then \
  4493. echo "Empty modules entry not found in $(PROJECT).app.src. Please consult the erlang.mk README for instructions." >&2; \
  4494. exit 1; \
  4495. fi
  4496. $(appsrc_verbose) cat src/$(PROJECT).app.src \
  4497. | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \[$(call comma_list,$(MODULES))\]}/" \
  4498. | sed "s/{id,[[:space:]]*\"git\"}/{id, \"$(subst /,\/,$(GITDESCRIBE))\"}/" \
  4499. > ebin/$(PROJECT).app
  4500. endif
  4501. clean:: clean-app
  4502. clean-app:
  4503. $(gen_verbose) rm -rf $(PROJECT).d ebin/ priv/mibs/ $(XRL_ERL_FILES) $(YRL_ERL_FILES) \
  4504. $(addprefix include/,$(patsubst %.mib,%.hrl,$(notdir $(MIB_FILES)))) \
  4505. $(addprefix include/,$(patsubst %.asn1,%.hrl,$(notdir $(ASN1_FILES)))) \
  4506. $(addprefix include/,$(patsubst %.asn1,%.asn1db,$(notdir $(ASN1_FILES)))) \
  4507. $(addprefix src/,$(patsubst %.asn1,%.erl,$(notdir $(ASN1_FILES))))
  4508. endif
  4509. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  4510. # Copyright (c) 2015, Viktor Söderqvist <viktor@zuiderkwast.se>
  4511. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4512. .PHONY: docs-deps
  4513. # Configuration.
  4514. ALL_DOC_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(DOC_DEPS))
  4515. # Targets.
  4516. $(foreach dep,$(DOC_DEPS),$(eval $(call dep_target,$(dep))))
  4517. ifneq ($(SKIP_DEPS),)
  4518. doc-deps:
  4519. else
  4520. doc-deps: $(ALL_DOC_DEPS_DIRS)
  4521. $(verbose) set -e; for dep in $(ALL_DOC_DEPS_DIRS) ; do $(MAKE) -C $$dep; done
  4522. endif
  4523. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  4524. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4525. .PHONY: rel-deps
  4526. # Configuration.
  4527. ALL_REL_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(REL_DEPS))
  4528. # Targets.
  4529. $(foreach dep,$(REL_DEPS),$(eval $(call dep_target,$(dep))))
  4530. ifneq ($(SKIP_DEPS),)
  4531. rel-deps:
  4532. else
  4533. rel-deps: $(ALL_REL_DEPS_DIRS)
  4534. $(verbose) set -e; for dep in $(ALL_REL_DEPS_DIRS) ; do $(MAKE) -C $$dep; done
  4535. endif
  4536. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  4537. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4538. .PHONY: test-deps test-dir test-build clean-test-dir
  4539. # Configuration.
  4540. TEST_DIR ?= $(CURDIR)/test
  4541. ALL_TEST_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(TEST_DEPS))
  4542. TEST_ERLC_OPTS ?= +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard
  4543. TEST_ERLC_OPTS += -DTEST=1
  4544. # Targets.
  4545. $(foreach dep,$(TEST_DEPS),$(eval $(call dep_target,$(dep))))
  4546. ifneq ($(SKIP_DEPS),)
  4547. test-deps:
  4548. else
  4549. test-deps: $(ALL_TEST_DEPS_DIRS)
  4550. $(verbose) set -e; for dep in $(ALL_TEST_DEPS_DIRS) ; do $(MAKE) -C $$dep IS_DEP=1; done
  4551. endif
  4552. ifneq ($(wildcard $(TEST_DIR)),)
  4553. test-dir:
  4554. $(gen_verbose) erlc -v $(TEST_ERLC_OPTS) -I include/ -o $(TEST_DIR) \
  4555. $(call core_find,$(TEST_DIR)/,*.erl) -pa ebin/
  4556. endif
  4557. ifeq ($(wildcard src),)
  4558. test-build:: ERLC_OPTS=$(TEST_ERLC_OPTS)
  4559. test-build:: clean deps test-deps
  4560. $(verbose) $(MAKE) --no-print-directory test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)"
  4561. else
  4562. ifeq ($(wildcard ebin/test),)
  4563. test-build:: ERLC_OPTS=$(TEST_ERLC_OPTS)
  4564. test-build:: clean deps test-deps $(PROJECT).d
  4565. $(verbose) $(MAKE) --no-print-directory app-build test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)"
  4566. $(gen_verbose) touch ebin/test
  4567. else
  4568. test-build:: ERLC_OPTS=$(TEST_ERLC_OPTS)
  4569. test-build:: deps test-deps $(PROJECT).d
  4570. $(verbose) $(MAKE) --no-print-directory app-build test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)"
  4571. endif
  4572. clean:: clean-test-dir
  4573. clean-test-dir:
  4574. ifneq ($(wildcard $(TEST_DIR)/*.beam),)
  4575. $(gen_verbose) rm -f $(TEST_DIR)/*.beam
  4576. endif
  4577. endif
  4578. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  4579. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4580. .PHONY: rebar.config
  4581. # We strip out -Werror because we don't want to fail due to
  4582. # warnings when used as a dependency.
  4583. compat_prepare_erlc_opts = $(shell echo "$1" | sed 's/, */,/g')
  4584. define compat_convert_erlc_opts
  4585. $(if $(filter-out -Werror,$1),\
  4586. $(if $(findstring +,$1),\
  4587. $(shell echo $1 | cut -b 2-)))
  4588. endef
  4589. define compat_erlc_opts_to_list
  4590. [$(call comma_list,$(foreach o,$(call compat_prepare_erlc_opts,$1),$(call compat_convert_erlc_opts,$o)))]
  4591. endef
  4592. define compat_rebar_config
  4593. {deps, [
  4594. $(call comma_list,$(foreach d,$(DEPS),\
  4595. $(if $(filter hex,$(call dep_fetch,$d)),\
  4596. {$(call dep_name,$d)$(comma)"$(call dep_repo,$d)"},\
  4597. {$(call dep_name,$d)$(comma)".*"$(comma){git,"$(call dep_repo,$d)"$(comma)"$(call dep_commit,$d)"}})))
  4598. ]}.
  4599. {erl_opts, $(call compat_erlc_opts_to_list,$(ERLC_OPTS))}.
  4600. endef
  4601. $(eval _compat_rebar_config = $$(compat_rebar_config))
  4602. $(eval export _compat_rebar_config)
  4603. rebar.config:
  4604. $(gen_verbose) echo "$${_compat_rebar_config}" > rebar.config
  4605. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  4606. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4607. ifeq ($(filter asciideck,$(DEPS) $(DOC_DEPS)),asciideck)
  4608. .PHONY: asciidoc asciidoc-guide asciidoc-manual install-asciidoc distclean-asciidoc-guide distclean-asciidoc-manual
  4609. # Core targets.
  4610. docs:: asciidoc
  4611. distclean:: distclean-asciidoc-guide distclean-asciidoc-manual
  4612. # Plugin-specific targets.
  4613. asciidoc: asciidoc-guide asciidoc-manual
  4614. # User guide.
  4615. ifeq ($(wildcard doc/src/guide/book.asciidoc),)
  4616. asciidoc-guide:
  4617. else
  4618. asciidoc-guide: distclean-asciidoc-guide doc-deps
  4619. a2x -v -f pdf doc/src/guide/book.asciidoc && mv doc/src/guide/book.pdf doc/guide.pdf
  4620. a2x -v -f chunked doc/src/guide/book.asciidoc && mv doc/src/guide/book.chunked/ doc/html/
  4621. distclean-asciidoc-guide:
  4622. $(gen_verbose) rm -rf doc/html/ doc/guide.pdf
  4623. endif
  4624. # Man pages.
  4625. ASCIIDOC_MANUAL_FILES := $(wildcard doc/src/manual/*.asciidoc)
  4626. ifeq ($(ASCIIDOC_MANUAL_FILES),)
  4627. asciidoc-manual:
  4628. else
  4629. # Configuration.
  4630. MAN_INSTALL_PATH ?= /usr/local/share/man
  4631. MAN_SECTIONS ?= 3 7
  4632. MAN_PROJECT ?= $(shell echo $(PROJECT) | sed 's/^./\U&\E/')
  4633. MAN_VERSION ?= $(PROJECT_VERSION)
  4634. # Plugin-specific targets.
  4635. define asciidoc2man.erl
  4636. try
  4637. [begin
  4638. io:format(" ADOC ~s~n", [F]),
  4639. ok = asciideck:to_manpage(asciideck:parse_file(F), #{
  4640. compress => gzip,
  4641. outdir => filename:dirname(F),
  4642. extra2 => "$(MAN_PROJECT) $(MAN_VERSION)",
  4643. extra3 => "$(MAN_PROJECT) Function Reference"
  4644. })
  4645. end || F <- [$(shell echo $(addprefix $(comma)\",$(addsuffix \",$1)) | sed 's/^.//')]],
  4646. halt(0)
  4647. catch C:E ->
  4648. io:format("Exception ~p:~p~nStacktrace: ~p~n", [C, E, erlang:get_stacktrace()]),
  4649. halt(1)
  4650. end.
  4651. endef
  4652. asciidoc-manual:: doc-deps
  4653. asciidoc-manual:: $(ASCIIDOC_MANUAL_FILES)
  4654. $(call erlang,$(call asciidoc2man.erl,$?))
  4655. $(foreach s,$(MAN_SECTIONS),mkdir -p doc/man$s/ && mv doc/src/manual/*.$s.gz doc/man$s/;)
  4656. install-docs:: install-asciidoc
  4657. install-asciidoc: asciidoc-manual
  4658. $(foreach s,$(MAN_SECTIONS),\
  4659. mkdir -p $(MAN_INSTALL_PATH)/man$s/ && \
  4660. install -g `id -g` -o `id -u` -m 0644 doc/man$s/*.gz $(MAN_INSTALL_PATH)/man$s/;)
  4661. distclean-asciidoc-manual:
  4662. $(gen_verbose) rm -rf $(addprefix doc/man,$(MAN_SECTIONS))
  4663. endif
  4664. endif
  4665. # Copyright (c) 2014-2016, Loïc Hoguin <essen@ninenines.eu>
  4666. # This file is part of erlang.mk and subject to the terms of the ISC License.
  4667. .PHONY: bootstrap bootstrap-lib bootstrap-rel new list-templates
  4668. # Core targets.
  4669. help::
  4670. $(verbose) printf "%s\n" "" \
  4671. "Bootstrap targets:" \
  4672. " bootstrap Generate a skeleton of an OTP application" \
  4673. " bootstrap-lib Generate a skeleton of an OTP library" \
  4674. " bootstrap-rel Generate the files needed to build a release" \
  4675. " new-app in=NAME Create a new local OTP application NAME" \
  4676. " new-lib in=NAME Create a new local OTP library NAME" \
  4677. " new t=TPL n=NAME Generate a module NAME based on the template TPL" \
  4678. " new t=T n=N in=APP Generate a module NAME based on the template TPL in APP" \
  4679. " list-templates List available templates"
  4680. # Bootstrap templates.
  4681. define bs_appsrc
  4682. {application, $p, [
  4683. {description, ""},
  4684. {vsn, "0.1.0"},
  4685. {id, "git"},
  4686. {modules, []},
  4687. {registered, []},
  4688. {applications, [
  4689. kernel,
  4690. stdlib
  4691. ]},
  4692. {mod, {$p_app, []}},
  4693. {env, []}
  4694. ]}.
  4695. endef
  4696. define bs_appsrc_lib
  4697. {application, $p, [
  4698. {description, ""},
  4699. {vsn, "0.1.0"},
  4700. {id, "git"},
  4701. {modules, []},
  4702. {registered, []},
  4703. {applications, [
  4704. kernel,
  4705. stdlib
  4706. ]}
  4707. ]}.
  4708. endef
  4709. # To prevent autocompletion issues with ZSH, we add "include erlang.mk"
  4710. # separately during the actual bootstrap.
  4711. ifdef SP
  4712. define bs_Makefile
  4713. PROJECT = $p
  4714. PROJECT_DESCRIPTION = New project
  4715. PROJECT_VERSION = 0.1.0
  4716. # Whitespace to be used when creating files from templates.
  4717. SP = $(SP)
  4718. endef
  4719. else
  4720. define bs_Makefile
  4721. PROJECT = $p
  4722. PROJECT_DESCRIPTION = New project
  4723. PROJECT_VERSION = 0.1.0
  4724. endef
  4725. endif
  4726. define bs_apps_Makefile
  4727. PROJECT = $p
  4728. PROJECT_DESCRIPTION = New project
  4729. PROJECT_VERSION = 0.1.0
  4730. include $(call core_relpath,$(dir $(ERLANG_MK_FILENAME)),$(APPS_DIR)/app)/erlang.mk
  4731. endef
  4732. define bs_app
  4733. -module($p_app).
  4734. -behaviour(application).
  4735. -export([start/2]).
  4736. -export([stop/1]).
  4737. start(_Type, _Args) ->
  4738. $p_sup:start_link().
  4739. stop(_State) ->
  4740. ok.
  4741. endef
  4742. define bs_relx_config
  4743. {release, {$p_release, "1"}, [$p, sasl, runtime_tools]}.
  4744. {extended_start_script, true}.
  4745. {sys_config, "rel/sys.config"}.
  4746. {vm_args, "rel/vm.args"}.
  4747. endef
  4748. define bs_sys_config
  4749. [
  4750. ].
  4751. endef
  4752. define bs_vm_args
  4753. -name $p@127.0.0.1
  4754. -setcookie $p
  4755. -heart
  4756. endef
  4757. # Normal templates.
  4758. define tpl_supervisor
  4759. -module($(n)).
  4760. -behaviour(supervisor).
  4761. -export([start_link/0]).
  4762. -export([init/1]).
  4763. start_link() ->
  4764. supervisor:start_link({local, ?MODULE}, ?MODULE, []).
  4765. init([]) ->
  4766. Procs = [],
  4767. {ok, {{one_for_one, 1, 5}, Procs}}.
  4768. endef
  4769. define tpl_gen_server
  4770. -module($(n)).
  4771. -behaviour(gen_server).
  4772. %% API.
  4773. -export([start_link/0]).
  4774. %% gen_server.
  4775. -export([init/1]).
  4776. -export([handle_call/3]).
  4777. -export([handle_cast/2]).
  4778. -export([handle_info/2]).
  4779. -export([terminate/2]).
  4780. -export([code_change/3]).
  4781. -record(state, {
  4782. }).
  4783. %% API.
  4784. -spec start_link() -> {ok, pid()}.
  4785. start_link() ->
  4786. gen_server:start_link(?MODULE, [], []).
  4787. %% gen_server.
  4788. init([]) ->
  4789. {ok, #state{}}.
  4790. handle_call(_Request, _From, State) ->
  4791. {reply, ignored, State}.
  4792. handle_cast(_Msg, State) ->
  4793. {noreply, State}.
  4794. handle_info(_Info, State) ->
  4795. {noreply, State}.
  4796. terminate(_Reason, _State) ->
  4797. ok.
  4798. code_change(_OldVsn, State, _Extra) ->
  4799. {ok, State}.
  4800. endef
  4801. define tpl_module
  4802. -module($(n)).
  4803. -export([]).
  4804. endef
  4805. define tpl_cowboy_http
  4806. -module($(n)).
  4807. -behaviour(cowboy_http_handler).
  4808. -export([init/3]).
  4809. -export([handle/2]).
  4810. -export([terminate/3]).
  4811. -record(state, {
  4812. }).
  4813. init(_, Req, _Opts) ->
  4814. {ok, Req, #state{}}.
  4815. handle(Req, State=#state{}) ->
  4816. {ok, Req2} = cowboy_req:reply(200, Req),
  4817. {ok, Req2, State}.
  4818. terminate(_Reason, _Req, _State) ->
  4819. ok.
  4820. endef
  4821. define tpl_gen_fsm
  4822. -module($(n)).
  4823. -behaviour(gen_fsm).
  4824. %% API.
  4825. -export([start_link/0]).
  4826. %% gen_fsm.
  4827. -export([init/1]).
  4828. -export([state_name/2]).
  4829. -export([handle_event/3]).
  4830. -export([state_name/3]).
  4831. -export([handle_sync_event/4]).
  4832. -export([handle_info/3]).
  4833. -export([terminate/3]).
  4834. -export([code_change/4]).
  4835. -record(state, {
  4836. }).
  4837. %% API.
  4838. -spec start_link() -> {ok, pid()}.
  4839. start_link() ->
  4840. gen_fsm:start_link(?MODULE, [], []).
  4841. %% gen_fsm.
  4842. init([]) ->
  4843. {ok, state_name, #state{}}.
  4844. state_name(_Event, StateData) ->
  4845. {next_state, state_name, StateData}.
  4846. handle_event(_Event, StateName, StateData) ->
  4847. {next_state, StateName, StateData}.
  4848. state_name(_Event, _From, StateData) ->
  4849. {reply, ignored, state_name, StateData}.
  4850. handle_sync_event(_Event, _From, StateName, StateData) ->
  4851. {reply, ignored, StateName, StateData}.
  4852. handle_info(_Info, StateName, StateData) ->
  4853. {next_state, StateName, StateData}.
  4854. terminate(_Reason, _StateName, _StateData) ->
  4855. ok.
  4856. code_change(_OldVsn, StateName, StateData, _Extra) ->
  4857. {ok, StateName, StateData}.
  4858. endef
  4859. define tpl_cowboy_loop
  4860. -module($(n)).
  4861. -behaviour(cowboy_loop_handler).
  4862. -export([init/3]).
  4863. -export([info/3]).
  4864. -export([terminate/3]).
  4865. -record(state, {
  4866. }).
  4867. init(_, Req, _Opts) ->
  4868. {loop, Req, #state{}, 5000, hibernate}.
  4869. info(_Info, Req, State) ->
  4870. {loop, Req, State, hibernate}.
  4871. terminate(_Reason, _Req, _State) ->
  4872. ok.
  4873. endef
  4874. define tpl_cowboy_rest
  4875. -module($(n)).
  4876. -export([init/3]).
  4877. -export([content_types_provided/2]).
  4878. -export([get_html/2]).
  4879. init(_, _Req, _Opts) ->
  4880. {upgrade, protocol, cowboy_rest}.
  4881. content_types_provided(Req, State) ->
  4882. {[{{<<"text">>, <<"html">>, '*'}, get_html}], Req, State}.
  4883. get_html(Req, State) ->
  4884. {<<"<html><body>This is REST!</body></html>">>, Req, State}.
  4885. endef
  4886. define tpl_cowboy_ws
  4887. -module($(n)).
  4888. -behaviour(cowboy_websocket_handler).
  4889. -export([init/3]).
  4890. -export([websocket_init/3]).
  4891. -export([websocket_handle/3]).
  4892. -export([websocket_info/3]).
  4893. -export([websocket_terminate/3]).
  4894. -record(state, {
  4895. }).
  4896. init(_, _, _) ->
  4897. {upgrade, protocol, cowboy_websocket}.
  4898. websocket_init(_, Req, _Opts) ->
  4899. Req2 = cowboy_req:compact(Req),
  4900. {ok, Req2, #state{}}.
  4901. websocket_handle({text, Data}, Req, State) ->
  4902. {reply, {text, Data}, Req, State};
  4903. websocket_handle({binary, Data}, Req, State) ->
  4904. {reply, {binary, Data}, Req, State};
  4905. websocket_handle(_Frame, Req, State) ->
  4906. {ok, Req, State}.
  4907. websocket_info(_Info, Req, State) ->
  4908. {ok, Req, State}.
  4909. websocket_terminate(_Reason, _Req, _State) ->
  4910. ok.
  4911. endef
  4912. define tpl_ranch_protocol
  4913. -module($(n)).
  4914. -behaviour(ranch_protocol).
  4915. -export([start_link/4]).
  4916. -export([init/4]).
  4917. -type opts() :: [].
  4918. -export_type([opts/0]).
  4919. -record(state, {
  4920. socket :: inet:socket(),
  4921. transport :: module()
  4922. }).
  4923. start_link(Ref, Socket, Transport, Opts) ->
  4924. Pid = spawn_link(?MODULE, init, [Ref, Socket, Transport, Opts]),
  4925. {ok, Pid}.
  4926. -spec init(ranch:ref(), inet:socket(), module(), opts()) -> ok.
  4927. init(Ref, Socket, Transport, _Opts) ->
  4928. ok = ranch:accept_ack(Ref),
  4929. loop(#state{socket=Socket, transport=Transport}).
  4930. loop(State) ->
  4931. loop(State).
  4932. endef
  4933. # Plugin-specific targets.
  4934. define render_template
  4935. $(verbose) printf -- '$(subst $(newline),\n,$(subst %,%%,$(subst ','\'',$(subst $(tab),$(WS),$(call $(1))))))\n' > $(2)
  4936. endef
  4937. ifndef WS
  4938. ifdef SP
  4939. WS = $(subst a,,a $(wordlist 1,$(SP),a a a a a a a a a a a a a a a a a a a a))
  4940. else
  4941. WS = $(tab)
  4942. endif
  4943. endif
  4944. bootstrap:
  4945. ifneq ($(wildcard src/),)
  4946. $(error Error: src/ directory already exists)
  4947. endif
  4948. $(eval p := $(PROJECT))
  4949. $(eval n := $(PROJECT)_sup)
  4950. $(call render_template,bs_Makefile,Makefile)
  4951. $(verbose) echo "include erlang.mk" >> Makefile
  4952. $(verbose) mkdir src/
  4953. ifdef LEGACY
  4954. $(call render_template,bs_appsrc,src/$(PROJECT).app.src)
  4955. endif
  4956. $(call render_template,bs_app,src/$(PROJECT)_app.erl)
  4957. $(call render_template,tpl_supervisor,src/$(PROJECT)_sup.erl)
  4958. bootstrap-lib:
  4959. ifneq ($(wildcard src/),)
  4960. $(error Error: src/ directory already exists)
  4961. endif
  4962. $(eval p := $(PROJECT))
  4963. $(call render_template,bs_Makefile,Makefile)
  4964. $(verbose) echo "include erlang.mk" >> Makefile
  4965. $(verbose) mkdir src/
  4966. ifdef LEGACY
  4967. $(call render_template,bs_appsrc_lib,src/$(PROJECT).app.src)
  4968. endif
  4969. bootstrap-rel:
  4970. ifneq ($(wildcard relx.config),)
  4971. $(error Error: relx.config already exists)
  4972. endif
  4973. ifneq ($(wildcard rel/),)
  4974. $(error Error: rel/ directory already exists)
  4975. endif
  4976. $(eval p := $(PROJECT))
  4977. $(call render_template,bs_relx_config,relx.config)
  4978. $(verbose) mkdir rel/
  4979. $(call render_template,bs_sys_config,rel/sys.config)
  4980. $(call render_template,bs_vm_args,rel/vm.args)
  4981. new-app:
  4982. ifndef in
  4983. $(error Usage: $(MAKE) new-app in=APP)
  4984. endif
  4985. ifneq ($(wildcard $(APPS_DIR)/$in),)
  4986. $(error Error: Application $in already exists)
  4987. endif
  4988. $(eval p := $(in))
  4989. $(eval n := $(in)_sup)
  4990. $(verbose) mkdir -p $(APPS_DIR)/$p/src/
  4991. $(call render_template,bs_apps_Makefile,$(APPS_DIR)/$p/Makefile)
  4992. ifdef LEGACY
  4993. $(call render_template,bs_appsrc,$(APPS_DIR)/$p/src/$p.app.src)
  4994. endif
  4995. $(call render_template,bs_app,$(APPS_DIR)/$p/src/$p_app.erl)
  4996. $(call render_template,tpl_supervisor,$(APPS_DIR)/$p/src/$p_sup.erl)
  4997. new-lib:
  4998. ifndef in
  4999. $(error Usage: $(MAKE) new-lib in=APP)
  5000. endif
  5001. ifneq ($(wildcard $(APPS_DIR)/$in),)
  5002. $(error Error: Application $in already exists)
  5003. endif
  5004. $(eval p := $(in))
  5005. $(verbose) mkdir -p $(APPS_DIR)/$p/src/
  5006. $(call render_template,bs_apps_Makefile,$(APPS_DIR)/$p/Makefile)
  5007. ifdef LEGACY
  5008. $(call render_template,bs_appsrc_lib,$(APPS_DIR)/$p/src/$p.app.src)
  5009. endif
  5010. new:
  5011. ifeq ($(wildcard src/)$(in),)
  5012. $(error Error: src/ directory does not exist)
  5013. endif
  5014. ifndef t
  5015. $(error Usage: $(MAKE) new t=TEMPLATE n=NAME [in=APP])
  5016. endif
  5017. ifndef n
  5018. $(error Usage: $(MAKE) new t=TEMPLATE n=NAME [in=APP])
  5019. endif
  5020. ifdef in
  5021. $(verbose) $(MAKE) -C $(APPS_DIR)/$(in)/ new t=$t n=$n in=
  5022. else
  5023. $(call render_template,tpl_$(t),src/$(n).erl)
  5024. endif
  5025. list-templates:
  5026. $(verbose) echo Available templates: $(sort $(patsubst tpl_%,%,$(filter tpl_%,$(.VARIABLES))))
  5027. # Copyright (c) 2014-2016, Loïc Hoguin <essen@ninenines.eu>
  5028. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5029. .PHONY: clean-c_src distclean-c_src-env
  5030. # Configuration.
  5031. C_SRC_DIR ?= $(CURDIR)/c_src
  5032. C_SRC_ENV ?= $(C_SRC_DIR)/env.mk
  5033. C_SRC_OUTPUT ?= $(CURDIR)/priv/$(PROJECT)
  5034. C_SRC_TYPE ?= shared
  5035. # System type and C compiler/flags.
  5036. ifeq ($(PLATFORM),msys2)
  5037. C_SRC_OUTPUT_EXECUTABLE_EXTENSION ?= .exe
  5038. C_SRC_OUTPUT_SHARED_EXTENSION ?= .dll
  5039. else
  5040. C_SRC_OUTPUT_EXECUTABLE_EXTENSION ?=
  5041. C_SRC_OUTPUT_SHARED_EXTENSION ?= .so
  5042. endif
  5043. ifeq ($(C_SRC_TYPE),shared)
  5044. C_SRC_OUTPUT_FILE = $(C_SRC_OUTPUT)$(C_SRC_OUTPUT_SHARED_EXTENSION)
  5045. else
  5046. C_SRC_OUTPUT_FILE = $(C_SRC_OUTPUT)$(C_SRC_OUTPUT_EXECUTABLE_EXTENSION)
  5047. endif
  5048. ifeq ($(PLATFORM),msys2)
  5049. # We hardcode the compiler used on MSYS2. The default CC=cc does
  5050. # not produce working code. The "gcc" MSYS2 package also doesn't.
  5051. CC = /mingw64/bin/gcc
  5052. export CC
  5053. CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
  5054. CXXFLAGS ?= -O3 -finline-functions -Wall
  5055. else ifeq ($(PLATFORM),darwin)
  5056. CC ?= cc
  5057. CFLAGS ?= -O3 -std=c99 -arch x86_64 -finline-functions -Wall -Wmissing-prototypes
  5058. CXXFLAGS ?= -O3 -arch x86_64 -finline-functions -Wall
  5059. LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress
  5060. else ifeq ($(PLATFORM),freebsd)
  5061. CC ?= cc
  5062. CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
  5063. CXXFLAGS ?= -O3 -finline-functions -Wall
  5064. else ifeq ($(PLATFORM),linux)
  5065. CC ?= gcc
  5066. CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
  5067. CXXFLAGS ?= -O3 -finline-functions -Wall
  5068. endif
  5069. ifneq ($(PLATFORM),msys2)
  5070. CFLAGS += -fPIC
  5071. CXXFLAGS += -fPIC
  5072. endif
  5073. CFLAGS += -I"$(ERTS_INCLUDE_DIR)" -I"$(ERL_INTERFACE_INCLUDE_DIR)"
  5074. CXXFLAGS += -I"$(ERTS_INCLUDE_DIR)" -I"$(ERL_INTERFACE_INCLUDE_DIR)"
  5075. LDLIBS += -L"$(ERL_INTERFACE_LIB_DIR)" -lerl_interface -lei
  5076. # Verbosity.
  5077. c_verbose_0 = @echo " C " $(?F);
  5078. c_verbose = $(c_verbose_$(V))
  5079. cpp_verbose_0 = @echo " CPP " $(?F);
  5080. cpp_verbose = $(cpp_verbose_$(V))
  5081. link_verbose_0 = @echo " LD " $(@F);
  5082. link_verbose = $(link_verbose_$(V))
  5083. # Targets.
  5084. ifeq ($(wildcard $(C_SRC_DIR)),)
  5085. else ifneq ($(wildcard $(C_SRC_DIR)/Makefile),)
  5086. app:: app-c_src
  5087. test-build:: app-c_src
  5088. app-c_src:
  5089. $(MAKE) -C $(C_SRC_DIR)
  5090. clean::
  5091. $(MAKE) -C $(C_SRC_DIR) clean
  5092. else
  5093. ifeq ($(SOURCES),)
  5094. SOURCES := $(sort $(foreach pat,*.c *.C *.cc *.cpp,$(call core_find,$(C_SRC_DIR)/,$(pat))))
  5095. endif
  5096. OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
  5097. COMPILE_C = $(c_verbose) $(CC) $(CFLAGS) $(CPPFLAGS) -c
  5098. COMPILE_CPP = $(cpp_verbose) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c
  5099. app:: $(C_SRC_ENV) $(C_SRC_OUTPUT_FILE)
  5100. test-build:: $(C_SRC_ENV) $(C_SRC_OUTPUT_FILE)
  5101. $(C_SRC_OUTPUT_FILE): $(OBJECTS)
  5102. $(verbose) mkdir -p priv/
  5103. $(link_verbose) $(CC) $(OBJECTS) \
  5104. $(LDFLAGS) $(if $(filter $(C_SRC_TYPE),shared),-shared) $(LDLIBS) \
  5105. -o $(C_SRC_OUTPUT_FILE)
  5106. %.o: %.c
  5107. $(COMPILE_C) $(OUTPUT_OPTION) $<
  5108. %.o: %.cc
  5109. $(COMPILE_CPP) $(OUTPUT_OPTION) $<
  5110. %.o: %.C
  5111. $(COMPILE_CPP) $(OUTPUT_OPTION) $<
  5112. %.o: %.cpp
  5113. $(COMPILE_CPP) $(OUTPUT_OPTION) $<
  5114. clean:: clean-c_src
  5115. clean-c_src:
  5116. $(gen_verbose) rm -f $(C_SRC_OUTPUT_FILE) $(OBJECTS)
  5117. endif
  5118. ifneq ($(wildcard $(C_SRC_DIR)),)
  5119. $(C_SRC_ENV):
  5120. $(verbose) $(ERL) -eval "file:write_file(\"$(call core_native_path,$(C_SRC_ENV))\", \
  5121. io_lib:format( \
  5122. \"ERTS_INCLUDE_DIR ?= ~s/erts-~s/include/~n\" \
  5123. \"ERL_INTERFACE_INCLUDE_DIR ?= ~s~n\" \
  5124. \"ERL_INTERFACE_LIB_DIR ?= ~s~n\", \
  5125. [code:root_dir(), erlang:system_info(version), \
  5126. code:lib_dir(erl_interface, include), \
  5127. code:lib_dir(erl_interface, lib)])), \
  5128. halt()."
  5129. distclean:: distclean-c_src-env
  5130. distclean-c_src-env:
  5131. $(gen_verbose) rm -f $(C_SRC_ENV)
  5132. -include $(C_SRC_ENV)
  5133. endif
  5134. # Templates.
  5135. define bs_c_nif
  5136. #include "erl_nif.h"
  5137. static int loads = 0;
  5138. static int load(ErlNifEnv* env, void** priv_data, ERL_NIF_TERM load_info)
  5139. {
  5140. /* Initialize private data. */
  5141. *priv_data = NULL;
  5142. loads++;
  5143. return 0;
  5144. }
  5145. static int upgrade(ErlNifEnv* env, void** priv_data, void** old_priv_data, ERL_NIF_TERM load_info)
  5146. {
  5147. /* Convert the private data to the new version. */
  5148. *priv_data = *old_priv_data;
  5149. loads++;
  5150. return 0;
  5151. }
  5152. static void unload(ErlNifEnv* env, void* priv_data)
  5153. {
  5154. if (loads == 1) {
  5155. /* Destroy the private data. */
  5156. }
  5157. loads--;
  5158. }
  5159. static ERL_NIF_TERM hello(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
  5160. {
  5161. if (enif_is_atom(env, argv[0])) {
  5162. return enif_make_tuple2(env,
  5163. enif_make_atom(env, "hello"),
  5164. argv[0]);
  5165. }
  5166. return enif_make_tuple2(env,
  5167. enif_make_atom(env, "error"),
  5168. enif_make_atom(env, "badarg"));
  5169. }
  5170. static ErlNifFunc nif_funcs[] = {
  5171. {"hello", 1, hello}
  5172. };
  5173. ERL_NIF_INIT($n, nif_funcs, load, NULL, upgrade, unload)
  5174. endef
  5175. define bs_erl_nif
  5176. -module($n).
  5177. -export([hello/1]).
  5178. -on_load(on_load/0).
  5179. on_load() ->
  5180. PrivDir = case code:priv_dir(?MODULE) of
  5181. {error, _} ->
  5182. AppPath = filename:dirname(filename:dirname(code:which(?MODULE))),
  5183. filename:join(AppPath, "priv");
  5184. Path ->
  5185. Path
  5186. end,
  5187. erlang:load_nif(filename:join(PrivDir, atom_to_list(?MODULE)), 0).
  5188. hello(_) ->
  5189. erlang:nif_error({not_loaded, ?MODULE}).
  5190. endef
  5191. new-nif:
  5192. ifneq ($(wildcard $(C_SRC_DIR)/$n.c),)
  5193. $(error Error: $(C_SRC_DIR)/$n.c already exists)
  5194. endif
  5195. ifneq ($(wildcard src/$n.erl),)
  5196. $(error Error: src/$n.erl already exists)
  5197. endif
  5198. ifdef in
  5199. $(verbose) $(MAKE) -C $(APPS_DIR)/$(in)/ new-nif n=$n in=
  5200. else
  5201. $(verbose) mkdir -p $(C_SRC_DIR) src/
  5202. $(call render_template,bs_c_nif,$(C_SRC_DIR)/$n.c)
  5203. $(call render_template,bs_erl_nif,src/$n.erl)
  5204. endif
  5205. # Copyright (c) 2015-2017, Loïc Hoguin <essen@ninenines.eu>
  5206. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5207. .PHONY: ci ci-prepare ci-setup
  5208. CI_OTP ?=
  5209. CI_HIPE ?=
  5210. CI_ERLLVM ?=
  5211. ifeq ($(CI_VM),native)
  5212. ERLC_OPTS += +native
  5213. TEST_ERLC_OPTS += +native
  5214. else ifeq ($(CI_VM),erllvm)
  5215. ERLC_OPTS += +native +'{hipe, [to_llvm]}'
  5216. TEST_ERLC_OPTS += +native +'{hipe, [to_llvm]}'
  5217. endif
  5218. ifeq ($(strip $(CI_OTP) $(CI_HIPE) $(CI_ERLLVM)),)
  5219. ci::
  5220. else
  5221. ci:: $(addprefix ci-,$(CI_OTP) $(addsuffix -native,$(CI_HIPE)) $(addsuffix -erllvm,$(CI_ERLLVM)))
  5222. ci-prepare: $(addprefix $(KERL_INSTALL_DIR)/,$(CI_OTP) $(addsuffix -native,$(CI_HIPE)))
  5223. ci-setup::
  5224. ci-extra::
  5225. ci_verbose_0 = @echo " CI " $(1);
  5226. ci_verbose = $(ci_verbose_$(V))
  5227. define ci_target
  5228. ci-$1: $(KERL_INSTALL_DIR)/$2
  5229. $(verbose) $(MAKE) --no-print-directory clean
  5230. $(ci_verbose) \
  5231. PATH="$(KERL_INSTALL_DIR)/$2/bin:$(PATH)" \
  5232. CI_OTP_RELEASE="$1" \
  5233. CT_OPTS="-label $1" \
  5234. CI_VM="$3" \
  5235. $(MAKE) ci-setup tests
  5236. $(verbose) $(MAKE) --no-print-directory ci-extra
  5237. endef
  5238. $(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp),$(otp),otp)))
  5239. $(foreach otp,$(CI_HIPE),$(eval $(call ci_target,$(otp)-native,$(otp)-native,native)))
  5240. $(foreach otp,$(CI_ERLLVM),$(eval $(call ci_target,$(otp)-erllvm,$(otp)-native,erllvm)))
  5241. $(foreach otp,$(CI_OTP),$(eval $(call kerl_otp_target,$(otp))))
  5242. $(foreach otp,$(sort $(CI_HIPE) $(CI_ERLLLVM)),$(eval $(call kerl_hipe_target,$(otp))))
  5243. help::
  5244. $(verbose) printf "%s\n" "" \
  5245. "Continuous Integration targets:" \
  5246. " ci Run '$(MAKE) tests' on all configured Erlang versions." \
  5247. "" \
  5248. "The CI_OTP variable must be defined with the Erlang versions" \
  5249. "that must be tested. For example: CI_OTP = OTP-17.3.4 OTP-17.5.3"
  5250. endif
  5251. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  5252. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5253. .PHONY: ct apps-ct distclean-ct
  5254. # Configuration.
  5255. CT_OPTS ?=
  5256. ifneq ($(wildcard $(TEST_DIR)),)
  5257. ifndef CT_SUITES
  5258. CT_SUITES := $(sort $(subst _SUITE.erl,,$(notdir $(call core_find,$(TEST_DIR)/,*_SUITE.erl))))
  5259. endif
  5260. endif
  5261. CT_SUITES ?=
  5262. CT_LOGS_DIR ?= $(CURDIR)/logs
  5263. # Core targets.
  5264. tests:: ct
  5265. distclean:: distclean-ct
  5266. help::
  5267. $(verbose) printf "%s\n" "" \
  5268. "Common_test targets:" \
  5269. " ct Run all the common_test suites for this project" \
  5270. "" \
  5271. "All your common_test suites have their associated targets." \
  5272. "A suite named http_SUITE can be ran using the ct-http target."
  5273. # Plugin-specific targets.
  5274. CT_RUN = ct_run \
  5275. -no_auto_compile \
  5276. -noinput \
  5277. -pa $(CURDIR)/ebin $(DEPS_DIR)/*/ebin $(APPS_DIR)/*/ebin $(TEST_DIR) \
  5278. -dir $(TEST_DIR) \
  5279. -logdir $(CT_LOGS_DIR)
  5280. ifeq ($(CT_SUITES),)
  5281. ct: $(if $(IS_APP),,apps-ct)
  5282. else
  5283. # We do not run tests if we are in an apps/* with no test directory.
  5284. ifneq ($(IS_APP)$(wildcard $(TEST_DIR)),1)
  5285. ct: test-build $(if $(IS_APP),,apps-ct)
  5286. $(verbose) mkdir -p $(CT_LOGS_DIR)
  5287. $(gen_verbose) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS)
  5288. endif
  5289. endif
  5290. ifneq ($(ALL_APPS_DIRS),)
  5291. define ct_app_target
  5292. apps-ct-$1:
  5293. $(MAKE) -C $1 ct IS_APP=1
  5294. endef
  5295. $(foreach app,$(ALL_APPS_DIRS),$(eval $(call ct_app_target,$(app))))
  5296. apps-ct: test-build $(addprefix apps-ct-,$(ALL_APPS_DIRS))
  5297. endif
  5298. ifndef t
  5299. CT_EXTRA =
  5300. else
  5301. ifeq (,$(findstring :,$t))
  5302. CT_EXTRA = -group $t
  5303. else
  5304. t_words = $(subst :, ,$t)
  5305. CT_EXTRA = -group $(firstword $(t_words)) -case $(lastword $(t_words))
  5306. endif
  5307. endif
  5308. define ct_suite_target
  5309. ct-$(1): test-build
  5310. $(verbose) mkdir -p $(CT_LOGS_DIR)
  5311. $(gen_verbose) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(1)) $(CT_EXTRA) $(CT_OPTS)
  5312. endef
  5313. $(foreach test,$(CT_SUITES),$(eval $(call ct_suite_target,$(test))))
  5314. distclean-ct:
  5315. $(gen_verbose) rm -rf $(CT_LOGS_DIR)
  5316. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  5317. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5318. .PHONY: plt distclean-plt dialyze
  5319. # Configuration.
  5320. DIALYZER_PLT ?= $(CURDIR)/.$(PROJECT).plt
  5321. export DIALYZER_PLT
  5322. PLT_APPS ?=
  5323. DIALYZER_DIRS ?= --src -r $(wildcard src) $(ALL_APPS_DIRS)
  5324. DIALYZER_OPTS ?= -Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
  5325. # Core targets.
  5326. check:: dialyze
  5327. distclean:: distclean-plt
  5328. help::
  5329. $(verbose) printf "%s\n" "" \
  5330. "Dialyzer targets:" \
  5331. " plt Build a PLT file for this project" \
  5332. " dialyze Analyze the project using Dialyzer"
  5333. # Plugin-specific targets.
  5334. define filter_opts.erl
  5335. Opts = init:get_plain_arguments(),
  5336. {Filtered, _} = lists:foldl(fun
  5337. (O, {Os, true}) -> {[O|Os], false};
  5338. (O = "-D", {Os, _}) -> {[O|Os], true};
  5339. (O = [\\$$-, \\$$D, _ | _], {Os, _}) -> {[O|Os], false};
  5340. (O = "-I", {Os, _}) -> {[O|Os], true};
  5341. (O = [\\$$-, \\$$I, _ | _], {Os, _}) -> {[O|Os], false};
  5342. (O = "-pa", {Os, _}) -> {[O|Os], true};
  5343. (_, Acc) -> Acc
  5344. end, {[], false}, Opts),
  5345. io:format("~s~n", [string:join(lists:reverse(Filtered), " ")]),
  5346. halt().
  5347. endef
  5348. $(DIALYZER_PLT): deps app
  5349. $(eval DEPS_LOG := $(shell test -f $(ERLANG_MK_TMP)/deps.log && \
  5350. while read p; do test -d $$p/ebin && echo $$p/ebin; done <$(ERLANG_MK_TMP)/deps.log))
  5351. $(verbose) dialyzer --build_plt --apps erts kernel stdlib \
  5352. $(PLT_APPS) $(OTP_DEPS) $(LOCAL_DEPS) $(DEPS_LOG)
  5353. plt: $(DIALYZER_PLT)
  5354. distclean-plt:
  5355. $(gen_verbose) rm -f $(DIALYZER_PLT)
  5356. ifneq ($(wildcard $(DIALYZER_PLT)),)
  5357. dialyze:
  5358. else
  5359. dialyze: $(DIALYZER_PLT)
  5360. endif
  5361. $(verbose) dialyzer --no_native `$(ERL) -eval "$(subst $(newline),,$(subst ",\",$(call filter_opts.erl)))" -extra $(ERLC_OPTS)` $(DIALYZER_DIRS) $(DIALYZER_OPTS)
  5362. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  5363. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5364. .PHONY: distclean-edoc edoc
  5365. # Configuration.
  5366. EDOC_OPTS ?=
  5367. EDOC_SRC_DIRS ?=
  5368. EDOC_OUTPUT ?= doc
  5369. define edoc.erl
  5370. SrcPaths = lists:foldl(fun(P, Acc) ->
  5371. filelib:wildcard(atom_to_list(P) ++ "/{src,c_src}") ++ Acc
  5372. end, [], [$(call comma_list,$(patsubst %,'%',$(EDOC_SRC_DIRS)))]),
  5373. DefaultOpts = [{dir, "$(EDOC_OUTPUT)"}, {source_path, SrcPaths}, {subpackages, false}],
  5374. edoc:application($(1), ".", [$(2)] ++ DefaultOpts),
  5375. halt(0).
  5376. endef
  5377. # Core targets.
  5378. ifneq ($(strip $(EDOC_SRC_DIRS)$(wildcard doc/overview.edoc)),)
  5379. docs:: edoc
  5380. endif
  5381. distclean:: distclean-edoc
  5382. # Plugin-specific targets.
  5383. edoc: distclean-edoc doc-deps
  5384. $(gen_verbose) $(call erlang,$(call edoc.erl,$(PROJECT),$(EDOC_OPTS)))
  5385. distclean-edoc:
  5386. $(gen_verbose) rm -f $(EDOC_OUTPUT)/*.css $(EDOC_OUTPUT)/*.html $(EDOC_OUTPUT)/*.png $(EDOC_OUTPUT)/edoc-info
  5387. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  5388. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5389. # Configuration.
  5390. DTL_FULL_PATH ?=
  5391. DTL_PATH ?= templates/
  5392. DTL_SUFFIX ?= _dtl
  5393. DTL_OPTS ?=
  5394. # Verbosity.
  5395. dtl_verbose_0 = @echo " DTL " $(filter %.dtl,$(?F));
  5396. dtl_verbose = $(dtl_verbose_$(V))
  5397. # Core targets.
  5398. DTL_PATH := $(abspath $(DTL_PATH))
  5399. DTL_FILES := $(sort $(call core_find,$(DTL_PATH),*.dtl))
  5400. ifneq ($(DTL_FILES),)
  5401. DTL_NAMES = $(addsuffix $(DTL_SUFFIX),$(DTL_FILES:$(DTL_PATH)/%.dtl=%))
  5402. DTL_MODULES = $(if $(DTL_FULL_PATH),$(subst /,_,$(DTL_NAMES)),$(notdir $(DTL_NAMES)))
  5403. BEAM_FILES += $(addsuffix .beam,$(addprefix ebin/,$(DTL_MODULES)))
  5404. ifneq ($(words $(DTL_FILES)),0)
  5405. # Rebuild templates when the Makefile changes.
  5406. $(ERLANG_MK_TMP)/last-makefile-change-erlydtl: $(MAKEFILE_LIST)
  5407. @mkdir -p $(ERLANG_MK_TMP)
  5408. @if test -f $@; then \
  5409. touch $(DTL_FILES); \
  5410. fi
  5411. @touch $@
  5412. ebin/$(PROJECT).app:: $(ERLANG_MK_TMP)/last-makefile-change-erlydtl
  5413. endif
  5414. define erlydtl_compile.erl
  5415. [begin
  5416. Module0 = case "$(strip $(DTL_FULL_PATH))" of
  5417. "" ->
  5418. filename:basename(F, ".dtl");
  5419. _ ->
  5420. "$(DTL_PATH)/" ++ F2 = filename:rootname(F, ".dtl"),
  5421. re:replace(F2, "/", "_", [{return, list}, global])
  5422. end,
  5423. Module = list_to_atom(string:to_lower(Module0) ++ "$(DTL_SUFFIX)"),
  5424. case erlydtl:compile(F, Module, [$(DTL_OPTS)] ++ [{out_dir, "ebin/"}, return_errors]) of
  5425. ok -> ok;
  5426. {ok, _} -> ok
  5427. end
  5428. end || F <- string:tokens("$(1)", " ")],
  5429. halt().
  5430. endef
  5431. ebin/$(PROJECT).app:: $(DTL_FILES) | ebin/
  5432. $(if $(strip $?),\
  5433. $(dtl_verbose) $(call erlang,$(call erlydtl_compile.erl,$(call core_native_path,$?)),\
  5434. -pa ebin/ $(DEPS_DIR)/erlydtl/ebin/))
  5435. endif
  5436. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  5437. # Copyright (c) 2014, Dave Cottlehuber <dch@skunkwerks.at>
  5438. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5439. .PHONY: distclean-escript escript escript-zip
  5440. # Configuration.
  5441. ESCRIPT_NAME ?= $(PROJECT)
  5442. ESCRIPT_FILE ?= $(ESCRIPT_NAME)
  5443. ESCRIPT_SHEBANG ?= /usr/bin/env escript
  5444. ESCRIPT_COMMENT ?= This is an -*- erlang -*- file
  5445. ESCRIPT_EMU_ARGS ?= -escript main $(ESCRIPT_NAME)
  5446. ESCRIPT_ZIP ?= 7z a -tzip -mx=9 -mtc=off $(if $(filter-out 0,$(V)),,> /dev/null)
  5447. ESCRIPT_ZIP_FILE ?= $(ERLANG_MK_TMP)/escript.zip
  5448. # Core targets.
  5449. distclean:: distclean-escript
  5450. help::
  5451. $(verbose) printf "%s\n" "" \
  5452. "Escript targets:" \
  5453. " escript Build an executable escript archive" \
  5454. # Plugin-specific targets.
  5455. escript-zip:: deps app
  5456. $(verbose) mkdir -p $(dir $(ESCRIPT_ZIP))
  5457. $(verbose) rm -f $(ESCRIPT_ZIP_FILE)
  5458. $(gen_verbose) cd .. && $(ESCRIPT_ZIP) $(ESCRIPT_ZIP_FILE) $(PROJECT)/ebin/*
  5459. ifneq ($(DEPS),)
  5460. $(verbose) cd $(DEPS_DIR) && $(ESCRIPT_ZIP) $(ESCRIPT_ZIP_FILE) \
  5461. `cat $(ERLANG_MK_TMP)/deps.log | sed 's/^$(subst /,\/,$(DEPS_DIR))\///' | sed 's/$$/\/ebin\/\*/'`
  5462. endif
  5463. escript:: escript-zip
  5464. $(gen_verbose) printf "%s\n" \
  5465. "#!$(ESCRIPT_SHEBANG)" \
  5466. "%% $(ESCRIPT_COMMENT)" \
  5467. "%%! $(ESCRIPT_EMU_ARGS)" > $(ESCRIPT_FILE)
  5468. $(verbose) cat $(ESCRIPT_ZIP_FILE) >> $(ESCRIPT_FILE)
  5469. $(verbose) chmod +x $(ESCRIPT_FILE)
  5470. distclean-escript:
  5471. $(gen_verbose) rm -f $(ESCRIPT_FILE)
  5472. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  5473. # Copyright (c) 2014, Enrique Fernandez <enrique.fernandez@erlang-solutions.com>
  5474. # This file is contributed to erlang.mk and subject to the terms of the ISC License.
  5475. .PHONY: eunit apps-eunit
  5476. # Configuration
  5477. EUNIT_OPTS ?=
  5478. EUNIT_ERL_OPTS ?=
  5479. # Core targets.
  5480. tests:: eunit
  5481. help::
  5482. $(verbose) printf "%s\n" "" \
  5483. "EUnit targets:" \
  5484. " eunit Run all the EUnit tests for this project"
  5485. # Plugin-specific targets.
  5486. define eunit.erl
  5487. case "$(COVER)" of
  5488. "" -> ok;
  5489. _ ->
  5490. case cover:compile_beam_directory("ebin") of
  5491. {error, _} -> halt(1);
  5492. _ -> ok
  5493. end
  5494. end,
  5495. case eunit:test($1, [$(EUNIT_OPTS)]) of
  5496. ok -> ok;
  5497. error -> halt(2)
  5498. end,
  5499. case "$(COVER)" of
  5500. "" -> ok;
  5501. _ ->
  5502. cover:export("$(COVER_DATA_DIR)/eunit.coverdata")
  5503. end,
  5504. halt()
  5505. endef
  5506. EUNIT_ERL_OPTS += -pa $(TEST_DIR) $(DEPS_DIR)/*/ebin $(APPS_DIR)/*/ebin $(CURDIR)/ebin
  5507. ifdef t
  5508. ifeq (,$(findstring :,$(t)))
  5509. eunit: test-build cover-data-dir
  5510. $(gen_verbose) $(call erlang,$(call eunit.erl,['$(t)']),$(EUNIT_ERL_OPTS))
  5511. else
  5512. eunit: test-build cover-data-dir
  5513. $(gen_verbose) $(call erlang,$(call eunit.erl,fun $(t)/0),$(EUNIT_ERL_OPTS))
  5514. endif
  5515. else
  5516. EUNIT_EBIN_MODS = $(notdir $(basename $(ERL_FILES) $(BEAM_FILES)))
  5517. EUNIT_TEST_MODS = $(notdir $(basename $(call core_find,$(TEST_DIR)/,*.erl)))
  5518. EUNIT_MODS = $(foreach mod,$(EUNIT_EBIN_MODS) $(filter-out \
  5519. $(patsubst %,%_tests,$(EUNIT_EBIN_MODS)),$(EUNIT_TEST_MODS)),'$(mod)')
  5520. eunit: test-build $(if $(IS_APP),,apps-eunit) cover-data-dir
  5521. $(gen_verbose) $(call erlang,$(call eunit.erl,[$(call comma_list,$(EUNIT_MODS))]),$(EUNIT_ERL_OPTS))
  5522. ifneq ($(ALL_APPS_DIRS),)
  5523. apps-eunit:
  5524. $(verbose) eunit_retcode=0 ; for app in $(ALL_APPS_DIRS); do $(MAKE) -C $$app eunit IS_APP=1; \
  5525. [ $$? -ne 0 ] && eunit_retcode=1 ; done ; \
  5526. exit $$eunit_retcode
  5527. endif
  5528. endif
  5529. # Copyright (c) 2015-2017, Loïc Hoguin <essen@ninenines.eu>
  5530. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5531. ifeq ($(filter proper,$(DEPS) $(TEST_DEPS)),proper)
  5532. .PHONY: proper
  5533. # Targets.
  5534. tests:: proper
  5535. define proper_check.erl
  5536. code:add_pathsa(["$(call core_native_path,$(CURDIR)/ebin)", "$(call core_native_path,$(DEPS_DIR)/*/ebin)"]),
  5537. Module = fun(M) ->
  5538. [true] =:= lists:usort([
  5539. case atom_to_list(F) of
  5540. "prop_" ++ _ ->
  5541. io:format("Testing ~p:~p/0~n", [M, F]),
  5542. proper:quickcheck(M:F(), nocolors);
  5543. _ ->
  5544. true
  5545. end
  5546. || {F, 0} <- M:module_info(exports)])
  5547. end,
  5548. try
  5549. case $(1) of
  5550. all -> [true] =:= lists:usort([Module(M) || M <- [$(call comma_list,$(3))]]);
  5551. module -> Module($(2));
  5552. function -> proper:quickcheck($(2), nocolors)
  5553. end
  5554. of
  5555. true -> halt(0);
  5556. _ -> halt(1)
  5557. catch error:undef ->
  5558. io:format("Undefined property or module?~n~p~n", [erlang:get_stacktrace()]),
  5559. halt(0)
  5560. end.
  5561. endef
  5562. ifdef t
  5563. ifeq (,$(findstring :,$(t)))
  5564. proper: test-build
  5565. $(verbose) $(call erlang,$(call proper_check.erl,module,$(t)))
  5566. else
  5567. proper: test-build
  5568. $(verbose) echo Testing $(t)/0
  5569. $(verbose) $(call erlang,$(call proper_check.erl,function,$(t)()))
  5570. endif
  5571. else
  5572. proper: test-build
  5573. $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename $(wildcard ebin/*.beam))))))
  5574. $(gen_verbose) $(call erlang,$(call proper_check.erl,all,undefined,$(MODULES)))
  5575. endif
  5576. endif
  5577. # Copyright (c) 2013-2016, Loïc Hoguin <essen@ninenines.eu>
  5578. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5579. .PHONY: relx-rel relx-relup distclean-relx-rel run
  5580. # Configuration.
  5581. RELX ?= $(ERLANG_MK_TMP)/relx
  5582. RELX_CONFIG ?= $(CURDIR)/relx.config
  5583. RELX_URL ?= https://github.com/erlware/relx/releases/download/v3.23.0/relx
  5584. RELX_OPTS ?=
  5585. RELX_OUTPUT_DIR ?= _rel
  5586. RELX_REL_EXT ?=
  5587. RELX_TAR ?= 1
  5588. ifdef SFX
  5589. RELX_TAR = 1
  5590. endif
  5591. ifeq ($(firstword $(RELX_OPTS)),-o)
  5592. RELX_OUTPUT_DIR = $(word 2,$(RELX_OPTS))
  5593. else
  5594. RELX_OPTS += -o $(RELX_OUTPUT_DIR)
  5595. endif
  5596. # Core targets.
  5597. ifeq ($(IS_DEP),)
  5598. ifneq ($(wildcard $(RELX_CONFIG)),)
  5599. rel:: relx-rel
  5600. relup:: relx-relup
  5601. endif
  5602. endif
  5603. distclean:: distclean-relx-rel
  5604. # Plugin-specific targets.
  5605. $(RELX):
  5606. $(gen_verbose) $(call core_http_get,$(RELX),$(RELX_URL))
  5607. $(verbose) chmod +x $(RELX)
  5608. relx-rel: $(RELX) rel-deps app
  5609. $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) release $(if $(filter 1,$(RELX_TAR)),tar)
  5610. relx-relup: $(RELX) rel-deps app
  5611. $(verbose) $(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) release relup $(if $(filter 1,$(RELX_TAR)),tar)
  5612. distclean-relx-rel:
  5613. $(gen_verbose) rm -rf $(RELX_OUTPUT_DIR)
  5614. # Run target.
  5615. ifeq ($(wildcard $(RELX_CONFIG)),)
  5616. run::
  5617. else
  5618. define get_relx_release.erl
  5619. {ok, Config} = file:consult("$(call core_native_path,$(RELX_CONFIG))"),
  5620. {release, {Name, Vsn0}, _} = lists:keyfind(release, 1, Config),
  5621. Vsn = case Vsn0 of
  5622. {cmd, Cmd} -> os:cmd(Cmd);
  5623. semver -> "";
  5624. {semver, _} -> "";
  5625. VsnStr -> Vsn0
  5626. end,
  5627. io:format("~s ~s", [Name, Vsn]),
  5628. halt(0).
  5629. endef
  5630. RELX_REL := $(shell $(call erlang,$(get_relx_release.erl)))
  5631. RELX_REL_NAME := $(word 1,$(RELX_REL))
  5632. RELX_REL_VSN := $(word 2,$(RELX_REL))
  5633. ifeq ($(PLATFORM),msys2)
  5634. RELX_REL_EXT := .cmd
  5635. endif
  5636. run:: all
  5637. $(verbose) $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/bin/$(RELX_REL_NAME)$(RELX_REL_EXT) console
  5638. help::
  5639. $(verbose) printf "%s\n" "" \
  5640. "Relx targets:" \
  5641. " run Compile the project, build the release and run it"
  5642. endif
  5643. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  5644. # Copyright (c) 2014, M Robert Martin <rob@version2beta.com>
  5645. # This file is contributed to erlang.mk and subject to the terms of the ISC License.
  5646. .PHONY: shell
  5647. # Configuration.
  5648. SHELL_ERL ?= erl
  5649. SHELL_PATHS ?= $(CURDIR)/ebin $(APPS_DIR)/*/ebin $(DEPS_DIR)/*/ebin
  5650. SHELL_OPTS ?=
  5651. ALL_SHELL_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(SHELL_DEPS))
  5652. # Core targets
  5653. help::
  5654. $(verbose) printf "%s\n" "" \
  5655. "Shell targets:" \
  5656. " shell Run an erlang shell with SHELL_OPTS or reasonable default"
  5657. # Plugin-specific targets.
  5658. $(foreach dep,$(SHELL_DEPS),$(eval $(call dep_target,$(dep))))
  5659. build-shell-deps: $(ALL_SHELL_DEPS_DIRS)
  5660. $(verbose) set -e; for dep in $(ALL_SHELL_DEPS_DIRS) ; do $(MAKE) -C $$dep ; done
  5661. shell: build-shell-deps
  5662. $(gen_verbose) $(SHELL_ERL) -pa $(SHELL_PATHS) $(SHELL_OPTS)
  5663. # Copyright (c) 2017, Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com>
  5664. # This file is contributed to erlang.mk and subject to the terms of the ISC License.
  5665. .PHONY: show-ERL_LIBS show-ERLC_OPTS show-TEST_ERLC_OPTS
  5666. show-ERL_LIBS:
  5667. @echo $(ERL_LIBS)
  5668. show-ERLC_OPTS:
  5669. @$(foreach opt,$(ERLC_OPTS) -pa ebin -I include,echo "$(opt)";)
  5670. show-TEST_ERLC_OPTS:
  5671. @$(foreach opt,$(TEST_ERLC_OPTS) -pa ebin -I include,echo "$(opt)";)
  5672. # Copyright (c) 2015-2016, Loïc Hoguin <essen@ninenines.eu>
  5673. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5674. ifeq ($(filter triq,$(DEPS) $(TEST_DEPS)),triq)
  5675. .PHONY: triq
  5676. # Targets.
  5677. tests:: triq
  5678. define triq_check.erl
  5679. code:add_pathsa([
  5680. "$(call core_native_path,$(CURDIR)/ebin)",
  5681. "$(call core_native_path,$(DEPS_DIR)/*/ebin)",
  5682. "$(call core_native_path,$(TEST_DIR))"]),
  5683. try
  5684. case $(1) of
  5685. all -> [true] =:= lists:usort([triq:check(M) || M <- [$(call comma_list,$(3))]]);
  5686. module -> triq:check($(2));
  5687. function -> triq:check($(2))
  5688. end
  5689. of
  5690. true -> halt(0);
  5691. _ -> halt(1)
  5692. catch error:undef ->
  5693. io:format("Undefined property or module?~n~p~n", [erlang:get_stacktrace()]),
  5694. halt(0)
  5695. end.
  5696. endef
  5697. ifdef t
  5698. ifeq (,$(findstring :,$(t)))
  5699. triq: test-build
  5700. $(verbose) $(call erlang,$(call triq_check.erl,module,$(t)))
  5701. else
  5702. triq: test-build
  5703. $(verbose) echo Testing $(t)/0
  5704. $(verbose) $(call erlang,$(call triq_check.erl,function,$(t)()))
  5705. endif
  5706. else
  5707. triq: test-build
  5708. $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename \
  5709. $(wildcard ebin/*.beam) $(call core_find,$(TEST_DIR)/,*.beam))))))
  5710. $(gen_verbose) $(call erlang,$(call triq_check.erl,all,undefined,$(MODULES)))
  5711. endif
  5712. endif
  5713. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  5714. # Copyright (c) 2015, Erlang Solutions Ltd.
  5715. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5716. .PHONY: xref distclean-xref
  5717. # Configuration.
  5718. ifeq ($(XREF_CONFIG),)
  5719. XREFR_ARGS :=
  5720. else
  5721. XREFR_ARGS := -c $(XREF_CONFIG)
  5722. endif
  5723. XREFR ?= $(CURDIR)/xrefr
  5724. export XREFR
  5725. XREFR_URL ?= https://github.com/inaka/xref_runner/releases/download/1.1.0/xrefr
  5726. # Core targets.
  5727. help::
  5728. $(verbose) printf '%s\n' '' \
  5729. 'Xref targets:' \
  5730. ' xref Run Xrefr using $$XREF_CONFIG as config file if defined'
  5731. distclean:: distclean-xref
  5732. # Plugin-specific targets.
  5733. $(XREFR):
  5734. $(gen_verbose) $(call core_http_get,$(XREFR),$(XREFR_URL))
  5735. $(verbose) chmod +x $(XREFR)
  5736. xref: deps app $(XREFR)
  5737. $(gen_verbose) $(XREFR) $(XREFR_ARGS)
  5738. distclean-xref:
  5739. $(gen_verbose) rm -rf $(XREFR)
  5740. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  5741. # Copyright (c) 2015, Viktor Söderqvist <viktor@zuiderkwast.se>
  5742. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5743. COVER_REPORT_DIR ?= cover
  5744. COVER_DATA_DIR ?= $(CURDIR)
  5745. # Hook in coverage to ct
  5746. ifdef COVER
  5747. ifdef CT_RUN
  5748. ifneq ($(wildcard $(TEST_DIR)),)
  5749. test-build:: $(TEST_DIR)/ct.cover.spec
  5750. $(TEST_DIR)/ct.cover.spec: cover-data-dir
  5751. $(gen_verbose) printf "%s\n" \
  5752. "{incl_app, '$(PROJECT)', details}." \
  5753. '{export,"$(abspath $(COVER_DATA_DIR))/ct.coverdata"}.' > $@
  5754. CT_RUN += -cover $(TEST_DIR)/ct.cover.spec
  5755. endif
  5756. endif
  5757. endif
  5758. # Core targets
  5759. ifdef COVER
  5760. ifneq ($(COVER_REPORT_DIR),)
  5761. tests::
  5762. $(verbose) $(MAKE) --no-print-directory cover-report
  5763. endif
  5764. cover-data-dir: | $(COVER_DATA_DIR)
  5765. $(COVER_DATA_DIR):
  5766. $(verbose) mkdir -p $(COVER_DATA_DIR)
  5767. else
  5768. cover-data-dir:
  5769. endif
  5770. clean:: coverdata-clean
  5771. ifneq ($(COVER_REPORT_DIR),)
  5772. distclean:: cover-report-clean
  5773. endif
  5774. help::
  5775. $(verbose) printf "%s\n" "" \
  5776. "Cover targets:" \
  5777. " cover-report Generate a HTML coverage report from previously collected" \
  5778. " cover data." \
  5779. " all.coverdata Merge all coverdata files into all.coverdata." \
  5780. "" \
  5781. "If COVER=1 is set, coverage data is generated by the targets eunit and ct. The" \
  5782. "target tests additionally generates a HTML coverage report from the combined" \
  5783. "coverdata files from each of these testing tools. HTML reports can be disabled" \
  5784. "by setting COVER_REPORT_DIR to empty."
  5785. # Plugin specific targets
  5786. COVERDATA = $(filter-out $(COVER_DATA_DIR)/all.coverdata,$(wildcard $(COVER_DATA_DIR)/*.coverdata))
  5787. .PHONY: coverdata-clean
  5788. coverdata-clean:
  5789. $(gen_verbose) rm -f $(COVER_DATA_DIR)/*.coverdata $(TEST_DIR)/ct.cover.spec
  5790. # Merge all coverdata files into one.
  5791. define cover_export.erl
  5792. $(foreach f,$(COVERDATA),cover:import("$(f)") == ok orelse halt(1),)
  5793. cover:export("$(COVER_DATA_DIR)/$@"), halt(0).
  5794. endef
  5795. all.coverdata: $(COVERDATA) cover-data-dir
  5796. $(gen_verbose) $(call erlang,$(cover_export.erl))
  5797. # These are only defined if COVER_REPORT_DIR is non-empty. Set COVER_REPORT_DIR to
  5798. # empty if you want the coverdata files but not the HTML report.
  5799. ifneq ($(COVER_REPORT_DIR),)
  5800. .PHONY: cover-report-clean cover-report
  5801. cover-report-clean:
  5802. $(gen_verbose) rm -rf $(COVER_REPORT_DIR)
  5803. $(if $(shell ls -A $(COVER_DATA_DIR)/),,$(verbose) rmdir $(COVER_DATA_DIR))
  5804. ifeq ($(COVERDATA),)
  5805. cover-report:
  5806. else
  5807. # Modules which include eunit.hrl always contain one line without coverage
  5808. # because eunit defines test/0 which is never called. We compensate for this.
  5809. EUNIT_HRL_MODS = $(subst $(space),$(comma),$(shell \
  5810. grep -H -e '^\s*-include.*include/eunit\.hrl"' src/*.erl \
  5811. | sed "s/^src\/\(.*\)\.erl:.*/'\1'/" | uniq))
  5812. define cover_report.erl
  5813. $(foreach f,$(COVERDATA),cover:import("$(f)") == ok orelse halt(1),)
  5814. Ms = cover:imported_modules(),
  5815. [cover:analyse_to_file(M, "$(COVER_REPORT_DIR)/" ++ atom_to_list(M)
  5816. ++ ".COVER.html", [html]) || M <- Ms],
  5817. Report = [begin {ok, R} = cover:analyse(M, module), R end || M <- Ms],
  5818. EunitHrlMods = [$(EUNIT_HRL_MODS)],
  5819. Report1 = [{M, {Y, case lists:member(M, EunitHrlMods) of
  5820. true -> N - 1; false -> N end}} || {M, {Y, N}} <- Report],
  5821. TotalY = lists:sum([Y || {_, {Y, _}} <- Report1]),
  5822. TotalN = lists:sum([N || {_, {_, N}} <- Report1]),
  5823. Perc = fun(Y, N) -> case Y + N of 0 -> 100; S -> round(100 * Y / S) end end,
  5824. TotalPerc = Perc(TotalY, TotalN),
  5825. {ok, F} = file:open("$(COVER_REPORT_DIR)/index.html", [write]),
  5826. io:format(F, "<!DOCTYPE html><html>~n"
  5827. "<head><meta charset=\"UTF-8\">~n"
  5828. "<title>Coverage report</title></head>~n"
  5829. "<body>~n", []),
  5830. io:format(F, "<h1>Coverage</h1>~n<p>Total: ~p%</p>~n", [TotalPerc]),
  5831. io:format(F, "<table><tr><th>Module</th><th>Coverage</th></tr>~n", []),
  5832. [io:format(F, "<tr><td><a href=\"~p.COVER.html\">~p</a></td>"
  5833. "<td>~p%</td></tr>~n",
  5834. [M, M, Perc(Y, N)]) || {M, {Y, N}} <- Report1],
  5835. How = "$(subst $(space),$(comma)$(space),$(basename $(COVERDATA)))",
  5836. Date = "$(shell date -u "+%Y-%m-%dT%H:%M:%SZ")",
  5837. io:format(F, "</table>~n"
  5838. "<p>Generated using ~s and erlang.mk on ~s.</p>~n"
  5839. "</body></html>", [How, Date]),
  5840. halt().
  5841. endef
  5842. cover-report:
  5843. $(verbose) mkdir -p $(COVER_REPORT_DIR)
  5844. $(gen_verbose) $(call erlang,$(cover_report.erl))
  5845. endif
  5846. endif # ifneq ($(COVER_REPORT_DIR),)
  5847. # Copyright (c) 2016, Loïc Hoguin <essen@ninenines.eu>
  5848. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5849. .PHONY: sfx
  5850. ifdef RELX_REL
  5851. ifdef SFX
  5852. # Configuration.
  5853. SFX_ARCHIVE ?= $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/$(RELX_REL_NAME)-$(RELX_REL_VSN).tar.gz
  5854. SFX_OUTPUT_FILE ?= $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME).run
  5855. # Core targets.
  5856. rel:: sfx
  5857. # Plugin-specific targets.
  5858. define sfx_stub
  5859. #!/bin/sh
  5860. TMPDIR=`mktemp -d`
  5861. ARCHIVE=`awk '/^__ARCHIVE_BELOW__$$/ {print NR + 1; exit 0;}' $$0`
  5862. FILENAME=$$(basename $$0)
  5863. REL=$${FILENAME%.*}
  5864. tail -n+$$ARCHIVE $$0 | tar -xzf - -C $$TMPDIR
  5865. $$TMPDIR/bin/$$REL console
  5866. RET=$$?
  5867. rm -rf $$TMPDIR
  5868. exit $$RET
  5869. __ARCHIVE_BELOW__
  5870. endef
  5871. sfx:
  5872. $(call render_template,sfx_stub,$(SFX_OUTPUT_FILE))
  5873. $(gen_verbose) cat $(SFX_ARCHIVE) >> $(SFX_OUTPUT_FILE)
  5874. $(verbose) chmod +x $(SFX_OUTPUT_FILE)
  5875. endif
  5876. endif
  5877. # Copyright (c) 2013-2017, Loïc Hoguin <essen@ninenines.eu>
  5878. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5879. # External plugins.
  5880. DEP_PLUGINS ?=
  5881. $(foreach p,$(DEP_PLUGINS),\
  5882. $(eval $(if $(findstring /,$p),\
  5883. $(call core_dep_plugin,$p,$(firstword $(subst /, ,$p))),\
  5884. $(call core_dep_plugin,$p/plugins.mk,$p))))
  5885. # Copyright (c) 2013-2015, Loïc Hoguin <essen@ninenines.eu>
  5886. # Copyright (c) 2015-2016, Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com>
  5887. # This file is part of erlang.mk and subject to the terms of the ISC License.
  5888. # Fetch dependencies recursively (without building them).
  5889. .PHONY: fetch-deps fetch-doc-deps fetch-rel-deps fetch-test-deps \
  5890. fetch-shell-deps
  5891. .PHONY: $(ERLANG_MK_RECURSIVE_DEPS_LIST) \
  5892. $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST) \
  5893. $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST) \
  5894. $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST) \
  5895. $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST)
  5896. fetch-deps: $(ERLANG_MK_RECURSIVE_DEPS_LIST)
  5897. fetch-doc-deps: $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST)
  5898. fetch-rel-deps: $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST)
  5899. fetch-test-deps: $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST)
  5900. fetch-shell-deps: $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST)
  5901. ifneq ($(SKIP_DEPS),)
  5902. $(ERLANG_MK_RECURSIVE_DEPS_LIST) \
  5903. $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST) \
  5904. $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST) \
  5905. $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST) \
  5906. $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST):
  5907. $(verbose) :> $@
  5908. else
  5909. # By default, we fetch "normal" dependencies. They are also included no
  5910. # matter the type of requested dependencies.
  5911. #
  5912. # $(ALL_DEPS_DIRS) includes $(BUILD_DEPS).
  5913. $(ERLANG_MK_RECURSIVE_DEPS_LIST): $(ALL_DEPS_DIRS)
  5914. $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST): $(ALL_DEPS_DIRS) $(ALL_DOC_DEPS_DIRS)
  5915. $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST): $(ALL_DEPS_DIRS) $(ALL_REL_DEPS_DIRS)
  5916. $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST): $(ALL_DEPS_DIRS) $(ALL_TEST_DEPS_DIRS)
  5917. $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST): $(ALL_DEPS_DIRS) $(ALL_SHELL_DEPS_DIRS)
  5918. # Allow to use fetch-deps and $(DEP_TYPES) to fetch multiple types of
  5919. # dependencies with a single target.
  5920. ifneq ($(filter doc,$(DEP_TYPES)),)
  5921. $(ERLANG_MK_RECURSIVE_DEPS_LIST): $(ALL_DOC_DEPS_DIRS)
  5922. endif
  5923. ifneq ($(filter rel,$(DEP_TYPES)),)
  5924. $(ERLANG_MK_RECURSIVE_DEPS_LIST): $(ALL_REL_DEPS_DIRS)
  5925. endif
  5926. ifneq ($(filter test,$(DEP_TYPES)),)
  5927. $(ERLANG_MK_RECURSIVE_DEPS_LIST): $(ALL_TEST_DEPS_DIRS)
  5928. endif
  5929. ifneq ($(filter shell,$(DEP_TYPES)),)
  5930. $(ERLANG_MK_RECURSIVE_DEPS_LIST): $(ALL_SHELL_DEPS_DIRS)
  5931. endif
  5932. ERLANG_MK_RECURSIVE_TMP_LIST := $(abspath $(ERLANG_MK_TMP)/recursive-tmp-deps.log)
  5933. $(ERLANG_MK_RECURSIVE_DEPS_LIST) \
  5934. $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST) \
  5935. $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST) \
  5936. $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST) \
  5937. $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST):
  5938. ifeq ($(IS_APP)$(IS_DEP),)
  5939. $(verbose) mkdir -p $(ERLANG_MK_TMP)
  5940. $(verbose) rm -f $(ERLANG_MK_RECURSIVE_TMP_LIST)
  5941. endif
  5942. ifndef IS_APP
  5943. $(verbose) set -e; for dep in $(ALL_APPS_DIRS) ; do \
  5944. $(MAKE) -C $$dep $@ \
  5945. IS_APP=1 \
  5946. ERLANG_MK_RECURSIVE_TMP_LIST=$(ERLANG_MK_RECURSIVE_TMP_LIST); \
  5947. done
  5948. endif
  5949. $(verbose) set -e; for dep in $^ ; do \
  5950. if ! grep -qs ^$$dep$$ $(ERLANG_MK_RECURSIVE_TMP_LIST); then \
  5951. echo $$dep >> $(ERLANG_MK_RECURSIVE_TMP_LIST); \
  5952. if grep -qs -E "^[[:blank:]]*include[[:blank:]]+(erlang\.mk|.*/erlang\.mk|.*ERLANG_MK_FILENAME.*)$$" \
  5953. $$dep/GNUmakefile $$dep/makefile $$dep/Makefile; then \
  5954. $(MAKE) -C $$dep fetch-deps \
  5955. IS_DEP=1 \
  5956. ERLANG_MK_RECURSIVE_TMP_LIST=$(ERLANG_MK_RECURSIVE_TMP_LIST); \
  5957. fi \
  5958. fi \
  5959. done
  5960. ifeq ($(IS_APP)$(IS_DEP),)
  5961. $(verbose) sort < $(ERLANG_MK_RECURSIVE_TMP_LIST) | uniq > $@
  5962. $(verbose) rm $(ERLANG_MK_RECURSIVE_TMP_LIST)
  5963. endif
  5964. endif # ifneq ($(SKIP_DEPS),)
  5965. # List dependencies recursively.
  5966. .PHONY: list-deps list-doc-deps list-rel-deps list-test-deps \
  5967. list-shell-deps
  5968. list-deps: $(ERLANG_MK_RECURSIVE_DEPS_LIST)
  5969. list-doc-deps: $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST)
  5970. list-rel-deps: $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST)
  5971. list-test-deps: $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST)
  5972. list-shell-deps: $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST)
  5973. list-deps list-doc-deps list-rel-deps list-test-deps list-shell-deps:
  5974. $(verbose) cat $^