diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/palmer-scripts/Manifest | 2 | ||||
-rw-r--r-- | app-misc/palmer-scripts/palmer-scripts-2015.05.05.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/palmer-scripts/Manifest b/app-misc/palmer-scripts/Manifest index d6d1227..0c6ecbe 100644 --- a/app-misc/palmer-scripts/Manifest +++ b/app-misc/palmer-scripts/Manifest @@ -1,2 +1,4 @@ DIST palmer-scripts-2014.08.19.tar.gz 11274 SHA256 c270d5926179b92089027bac16ec6a107d83a8dd921061e64f900f033dd00e91 SHA512 eb3ea279c9bc57580427c64086b41e521d44062ff93beb5292acf42bce341be700f3c223f3e9296003a7f3c6e44d8c0deaaab11101cbda25fe01e9c2d4d0f89e WHIRLPOOL fad20a9af4afa5c7ade330d4c58e41039c14112a3a998b8d33aff4749ed4421964ced2bb76cf8e28fb33503b75d6b7c1bd7dbccaebf5198434f9ad9f01d0989f +DIST palmer-scripts-2015.05.05.tar.gz 12453 SHA256 8db43dbc21631706f48435fa3fec7f93e516da8d43e905d705a137e3b08dd3c7 SHA512 ae1a0d16bc6e2892bc70c5ac74aa91153b782863b47e26c0f4f5f289780fdb31753c411b3a5e123557741a816df2b4986e45851168164c3eec83dfc64af677cd WHIRLPOOL 9415178a6f5997310e9f6ce085b59775e47e0cb30e8dcdb3e15da1a27e837074b182f8eb5f2e4da2e40aa48e821dcb179d541e462dde37746b7753ee658ff36f EBUILD palmer-scripts-2014.08.19.ebuild 995 SHA256 a44282d0ce92ceb51cd3437d721773c01c99b64ede8c34acc683b052cd6f5a9b SHA512 079d72874c210ea88cb8cd1728435c73dc57290d39d0f0ad14584fe0c802196f4e5f8ec04a1fb58d866b05e392806f156917eab3bbcd349bfd5076f152677903 WHIRLPOOL f323b7f6b54c82a3e4a426e757304f8d5deb0f2afda96922fa85fc4cf69f753a32d164f94c6900e47b5df7e851a1a48bdc8597e705df3ae4cd05fa0637fb958b +EBUILD palmer-scripts-2015.05.05.ebuild 995 SHA256 a44282d0ce92ceb51cd3437d721773c01c99b64ede8c34acc683b052cd6f5a9b SHA512 079d72874c210ea88cb8cd1728435c73dc57290d39d0f0ad14584fe0c802196f4e5f8ec04a1fb58d866b05e392806f156917eab3bbcd349bfd5076f152677903 WHIRLPOOL f323b7f6b54c82a3e4a426e757304f8d5deb0f2afda96922fa85fc4cf69f753a32d164f94c6900e47b5df7e851a1a48bdc8597e705df3ae4cd05fa0637fb958b diff --git a/app-misc/palmer-scripts/palmer-scripts-2015.05.05.ebuild b/app-misc/palmer-scripts/palmer-scripts-2015.05.05.ebuild new file mode 100644 index 0000000..00c0e87 --- /dev/null +++ b/app-misc/palmer-scripts/palmer-scripts-2015.05.05.ebuild @@ -0,0 +1,40 @@ +EAPI="4" + +DESCRIPTION="Palmer Dabbelt's script collection" +HOMEPAGE="http://dabbelt.com/~palmer/software/scripts/" +SRC_URI="https://github.com/palmer-dabbelt/scrpits/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 amd64-linux" +IUSE="v4l2" + +RDEPEND="sys-devel/pconfigure + sys-devel/make + v4l2? ( media-libs/libv4l ) + net-dns/bind-tools + net-analyzer/traceroute + dev-util/indent + sys-process/parallel" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/scrpits-${PV} + +src_configure() { + cd "${S}" + + rm Configfile.local >& /dev/null || true + touch Configfile.local + + echo "PREFIX = ${EPREFIX}/usr" >> Configfile.local + + echo "LANGUAGES += c" >> Configfile.local + for i in $(echo ${CFLAGS}); do + echo "COMPILEOPTS += ${i}" >> Configfile.local + done + echo "COMPILEOPTS += -DNDEBUG" >> Configfile.local + echo "COMPILEOPTS += -DPROCESSORS=\\\"$(grep -c "physical id" /proc/cpuinfo)\\\"" >> Configfile.local + + pconfigure || die "pconfigure failed" +} |