erlang.mk 218 KB

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