erlang.mk 233 KB

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