app-crypt/gnupg: clean up ebuild to not install in local
authorkristianf <devnull@localhost>
Mon, 9 Dec 2013 20:05:39 +0000 (21:05 +0100)
committerkristianf <devnull@localhost>
Mon, 9 Dec 2013 20:05:39 +0000 (21:05 +0100)
app-crypt/gnupg/Manifest
app-crypt/gnupg/gnupg-9999.ebuild

index 1a3763e..e85801a 100644 (file)
@@ -1,2 +1,2 @@
 AUX gnupg_master_0002-Fix-building-with-GNU-Automake-1.13.patch 2143 SHA256 2413ac5c9607450c7792c52754d4500249ab5e07ded649c752f89f243cf43b4e SHA512 adf90513afd9b3c7384b53e3b5b95c305567b6707ed9a60d76e49b28744e358da4b4412b0df266e9a214e3c4fbcf9ebe8523584436143b7e57aca620a0db422e WHIRLPOOL f2d2f59656caf1abfaf0066383deb1d27aab43c2b25bd3a9fa27cf3c4a0357e875058ef138b7a5237526fece6c3910604deac5fec6af01ada97e88f7b44b54bf
-EBUILD gnupg-9999.ebuild 1264 SHA256 231af102287bcf202114416ff8b55a09003b630121601bf58626bf35faf704f0 SHA512 0dd8c23a96983f0b85f6d827bdb26e809b0a091475a7baffb581688a8c6b3c1c064f906750993f54035f0ae7ee49c833adf015b3adb0061c911cf8bfeba4161b WHIRLPOOL 6466ede2a5492888fc56bc8c87b7ee4d4c7f9c1d95dff89bef2f2d90b686573d25554646a7bdbe56c44c9da239c70c46c378a9f701d229853506f077b27cabb9
+EBUILD gnupg-9999.ebuild 1307 SHA256 82c221b2b9cc35e2ecca868c1c6946f63ad48a661bab2151c86961c5702928a8 SHA512 03c951961137569d12b6cbedf1b5d13bd8340eefc0ef2cd7f64fbbcd637c51c57352bfdb35138adcb8dc368f1522d0b8622754a7b6cb811befe481017e5faecf WHIRLPOOL 4a6b5981293971b5e501433b5f817f90bcde5a18d8056bda9965c4e0cc6d50a0d2e735d75eb731f984e0f285027e58d2242d8242b8ecabd54fe8ceef85948ae3
index e9ef428..932ee56 100644 (file)
@@ -13,7 +13,7 @@ HOMEPAGE="http://gnupg.org/"
 LICENSE="GPL-2"
 SLOT="2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="+localprefix"
+IUSE=""
 
 REQUIRED_USE=""
 WANT_AUTOMAKE="1.13"
@@ -43,19 +43,18 @@ src_prepare() {
 }
 
 src_configure() {
-       local myconf2; 
-
-       if use localprefix; then
-               myconf2+=(
-                       --prefix=/usr/local
-                       --datarootdir=/usr/local
-               )
-       fi
-
-       ./configure \
-               ${myconf2[@]} \
+       econf \
+               --program-prefix='gpg2.1-' \
+               --infodir=/usr/share/info/gnupg2.1 \
+               --datadir=/usr/share/gnupg2.1 \
+               --docdir=/usr/share/doc/gnupg2.1 \
                --enable-maintainer-mode \
                --enable-symcryptrun \
                --enable-mailto \
-               --enable-gpgtar || die
+               --enable-gpgtar
+}
+
+src_install(){
+       default
+       dosym gpg2.1-gpg2 /usr/bin/gpg2.1
 }