erlang.mk 209 KB

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