summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-09-26 14:52:22 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-09-26 14:52:36 +0200
commit368397d8e3b6337f39586acde5020dd00416340b (patch)
tree311a57e0919d8c932c5c8a62b5474b9fb44a3f3d /app-arch
parentmedia-gfx/imagemagick: Removed old. (diff)
downloadgentoo-368397d8e3b6337f39586acde5020dd00416340b.tar.gz
gentoo-368397d8e3b6337f39586acde5020dd00416340b.tar.bz2
gentoo-368397d8e3b6337f39586acde5020dd00416340b.zip
app-arch/zstd: Fix install prefix #593632
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zstd/zstd-1.0.0-r1.ebuild (renamed from app-arch/zstd/zstd-1.0.0.ebuild)9
1 files changed, 9 insertions, 0 deletions
diff --git a/app-arch/zstd/zstd-1.0.0.ebuild b/app-arch/zstd/zstd-1.0.0-r1.ebuild
index 68317695c9b0..e1979156b186 100644
--- a/app-arch/zstd/zstd-1.0.0.ebuild
+++ b/app-arch/zstd/zstd-1.0.0-r1.ebuild
@@ -12,3 +12,12 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+
+src_compile() {
+ emake PREFIX="/usr" zstd
+ cd lib && emake PREFIX="/usr" libzstd
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}