Skip to content

Commit

Permalink
dev-erlang: Add some Erlang packages
Browse files Browse the repository at this point in the history
  • Loading branch information
wittyfox committed Feb 19, 2015
1 parent bf5f327 commit c60a91b
Show file tree
Hide file tree
Showing 31 changed files with 710 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-erlang/epgsql/Manifest
@@ -0,0 +1 @@
DIST epgsql-3.0.0.tar.gz 38639 SHA256 8ccec9b83102887d67ee0d7367835a8c71e8ce4c1baef564f08a5ada059c5e66
40 changes: 40 additions & 0 deletions dev-erlang/epgsql/epgsql-3.0.0.ebuild
@@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Erlang PostgreSQL client library"
HOMEPAGE="https://github.com/epgsql/epgsql"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/epgsql/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/epgsql/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="epgsql"
SLOT="0"
IUSE="src"

RDEPEND="dev-lang/erlang"
DEPEND="${DEPEND}
dev-util/rebar"

src_compile() {
emake
}

src_install() {
erlang-pkg_doebin

if use src ; then
erlang-pkg_dosrc
fi
}
40 changes: 40 additions & 0 deletions dev-erlang/epgsql/epgsql-9999.ebuild
@@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Erlang PostgreSQL client library"
HOMEPAGE="https://github.com/epgsql/epgsql"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/epgsql/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/epgsql/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="epgsql"
SLOT="0"
IUSE="src"

RDEPEND="dev-lang/erlang"
DEPEND="${DEPEND}
dev-util/rebar"

src_compile() {
emake
}

src_install() {
erlang-pkg_doebin

if use src ; then
erlang-pkg_dosrc
fi
}
14 changes: 14 additions & 0 deletions dev-erlang/epgsql/metadata.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>slogerdream@gmail.com</email>
<name>wittyfox</name>
</maintainer>
<use>
<flag name="src">Adds source files.</flag>
</use>
<upstream>
<remote-id type="github">epgsql/epgsql</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-erlang/eredis/Manifest
@@ -0,0 +1 @@
DIST eredis-1.0.6.tar.gz 123842 SHA256 f69ba5b228b2e20f923fa3c85b10aebc6f9373d750bd9974700bdea57679ff63
39 changes: 39 additions & 0 deletions dev-erlang/eredis/eredis-1.0.6.ebuild
@@ -0,0 +1,39 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Non-blocking Redis client with focus on performance and robustness"
HOMEPAGE="https://github.com/wooga/eredis"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/wooga/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wooga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE="src"

DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"

src_compile() {
emake
}

src_install() {
erlang-pkg_doebin

if use src ; then
erlang-pkg_dosrc
fi
}
39 changes: 39 additions & 0 deletions dev-erlang/eredis/eredis-9999.ebuild
@@ -0,0 +1,39 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Non-blocking Redis client with focus on performance and robustness"
HOMEPAGE="https://github.com/wooga/eredis"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/wooga/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wooga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE="src"

DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"

src_compile() {
emake
}

src_install() {
erlang-pkg_doebin

if use src ; then
erlang-pkg_dosrc
fi
}
14 changes: 14 additions & 0 deletions dev-erlang/eredis/metadata.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>slogerdream@gmail.com</email>
<name>wittyfox</name>
</maintainer>
<use>
<flag name="src">Adds source files.</flag>
</use>
<upstream>
<remote-id type="github">wooga/eredis</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion dev-erlang/goldrush/goldrush-0.1.6.ebuild
Expand Up @@ -19,7 +19,7 @@ else
KEYWORDS="~amd64"
fi

LICENSE="Custom"
LICENSE="goldrush"
SLOT="0"
IUSE="src doc"

Expand Down
2 changes: 1 addition & 1 deletion dev-erlang/goldrush/goldrush-9999.ebuild
Expand Up @@ -19,7 +19,7 @@ else
KEYWORDS="~amd64"
fi

LICENSE="Custom"
LICENSE="goldrush"
SLOT="0"
IUSE="src doc"

Expand Down
1 change: 1 addition & 0 deletions dev-erlang/ibrowse/Manifest
@@ -0,0 +1 @@
DIST ibrowse-4.1.1.tar.gz 145295 SHA256 d54a89275ee1d58192ec1b41e88bf17a92ad7825b9231a283d55c8d0ae542574
47 changes: 47 additions & 0 deletions dev-erlang/ibrowse/ibrowse-4.1.1.ebuild
@@ -0,0 +1,47 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Ibrowse is a HTTP client written in Erlang"
HOMEPAGE="https://github.com/cmullaparthi/ibrowse"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/cmullaparthi/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/cmullaparthi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="|| ( BSD LGPL )"
SLOT="0"
IUSE="doc src"

DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"

src_compile() {
emake

if use doc ; then
emake docs
fi
}

src_install() {
erlang-pkg_doebin

if use doc ; then
erlang-pkg_dodoc
fi

if use src ; then
erlang-pkg_dosrc
fi
}
47 changes: 47 additions & 0 deletions dev-erlang/ibrowse/ibrowse-9999.ebuild
@@ -0,0 +1,47 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Ibrowse is a HTTP client written in Erlang"
HOMEPAGE="https://github.com/cmullaparthi/ibrowse"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/cmullaparthi/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/cmullaparthi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="|| ( BSD LGPL )"
SLOT="0"
IUSE="doc src"

DEPEND="dev-lang/erlang"
RDEPEND="${DEPEND}"

src_compile() {
emake

if use doc ; then
emake docs
fi
}

src_install() {
erlang-pkg_doebin

if use doc ; then
erlang-pkg_dodoc
fi

if use src ; then
erlang-pkg_dosrc
fi
}
15 changes: 15 additions & 0 deletions dev-erlang/ibrowse/metadata.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>slogerdream@gmail.com</email>
<name>wittyfox</name>
</maintainer>
<use>
<flag name="doc">Adds extra documentation.</flag>
<flag name="src">Adds source files.</flag>
</use>
<upstream>
<remote-id type="github">acmullaparthi/ibrowse</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-erlang/kvs/Manifest
@@ -0,0 +1 @@
DIST kvs-2.1.tar.gz 26985 SHA256 b0f13ab46b5638ef43576be8f7bb09f39a62bd7642753b86301282d911cef2c9
48 changes: 48 additions & 0 deletions dev-erlang/kvs/kvs-2.1.ebuild
@@ -0,0 +1,48 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils erlang-pkg

DESCRIPTION="Key-Value Storages Framework for Erlang"
HOMEPAGE="http://slid.es/maximsokhatsky/kvs"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/synrc/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/synrc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi

LICENSE="synrc"
SLOT="0"
IUSE="doc src"

RDEPEND="dev-lang/erlang"
DEPEND="${DEPEND}
dev-util/rebar"

src_compile() {
rebar compile

if use doc ; then
rebar doc
fi
}

src_install() {
erlang-pkg_doebin

if use doc ; then
erlang-pkg_dodoc
fi

if use src ; then
erlang-pkg_dosrc
fi
}

0 comments on commit c60a91b

Please sign in to comment.