erlang.mk 192 KB

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