media-video/rtmpdump: DESTTREE -> /usr, #582984
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 May 2016 08:41:57 +0000 (10:41 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 May 2016 08:49:25 +0000 (10:49 +0200)
media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild
media-video/rtmpdump/rtmpdump-9999.ebuild

index d89eaa00a8f918e07bf87099780ce748e5273e7e..6d20b3c6238cc447b421a970b4903314313fe3d8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -68,12 +68,12 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-       mkdir -p "${ED}"/${DESTTREE}/$(get_libdir) || die
+       mkdir -p "${ED}"/usr/$(get_libdir) || die
        if multilib_is_native_abi; then
                dodoc README ChangeLog rtmpdump.1.html rtmpgw.8.html
        else
                cd librtmp || die
        fi
-       emake DESTDIR="${ED}" prefix="${DESTTREE}" mandir="${DESTTREE}/share/man" \
+       emake DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" \
        CRYPTO="${crypto}" install
 }
index 399c53569a7ba4c4a72901950e11c5cacc3651cb..c8bc9ac95bc0ec37fea96c29257d4d246bf82aa0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -62,12 +62,12 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-       mkdir -p "${ED}"/${DESTTREE}/$(get_libdir) || die
+       mkdir -p "${ED}"/usr/$(get_libdir) || die
        if multilib_is_native_abi; then
                dodoc README ChangeLog rtmpdump.1.html rtmpgw.8.html
        else
                cd librtmp || die
        fi
-       emake DESTDIR="${ED}" prefix="${DESTTREE}" mandir="${DESTTREE}/share/man" \
+       emake DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" \
                CRYPTO="${crypto}" install
 }