erlang.mk 211 KB

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