diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2015-01-17 16:09:25 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2015-01-17 16:09:25 -0800 |
commit | 33186b42d813a4611cdfe24e299c215db61e940d (patch) | |
tree | f93e5e3f733f256649e81036d325bdc18a4e0652 /app-misc | |
parent | Add app-misc/cronic at 1.0 (diff) | |
download | palmer-33186b42d813a4611cdfe24e299c215db61e940d.tar.gz palmer-33186b42d813a4611cdfe24e299c215db61e940d.tar.bz2 palmer-33186b42d813a4611cdfe24e299c215db61e940d.zip |
Add app-misc/palmer-scripts at 2014.08.19
This is a collection of arbitrary little scripts that I regularly use.
They're all in this little repo, which allows me to more easily track
them.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/palmer-scripts/Manifest | 2 | ||||
-rw-r--r-- | app-misc/palmer-scripts/palmer-scripts-2014.08.19.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/palmer-scripts/Manifest b/app-misc/palmer-scripts/Manifest new file mode 100644 index 0000000..3a508e3 --- /dev/null +++ b/app-misc/palmer-scripts/Manifest @@ -0,0 +1,2 @@ +DIST palmer-scripts-2014.08.19.tar.gz 11274 SHA256 c270d5926179b92089027bac16ec6a107d83a8dd921061e64f900f033dd00e91 SHA512 eb3ea279c9bc57580427c64086b41e521d44062ff93beb5292acf42bce341be700f3c223f3e9296003a7f3c6e44d8c0deaaab11101cbda25fe01e9c2d4d0f89e WHIRLPOOL fad20a9af4afa5c7ade330d4c58e41039c14112a3a998b8d33aff4749ed4421964ced2bb76cf8e28fb33503b75d6b7c1bd7dbccaebf5198434f9ad9f01d0989f +EBUILD palmer-scripts-2014.08.19.ebuild 981 SHA256 c6a6ef3e12eb97dbd2d6a038b8ef55a4a850d9964a4edde190a9e2b82a2eb085 SHA512 3918e3d0607de95ff0afd206f7fe46148d289a5ad315b2f536f89123f0665a27511de75fc52c27067a849b7dfb845bafdd5c20ce2452325dea77f9f541dc9a84 WHIRLPOOL 49598e4567fe360d4f3bfba1b4174a755ffd4e77f3306846c657ef2024f3ab568b54cab50bddde1c28298eaa841de4f0b79df8da5f56867ae441bb846a617e28 diff --git a/app-misc/palmer-scripts/palmer-scripts-2014.08.19.ebuild b/app-misc/palmer-scripts/palmer-scripts-2014.08.19.ebuild new file mode 100644 index 0000000..118c1ed --- /dev/null +++ b/app-misc/palmer-scripts/palmer-scripts-2014.08.19.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="" + +RDEPEND="sys-devel/pconfigure + sys-devel/make + 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" +} |