diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-08 08:27:05 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-08 08:27:42 +0200 |
commit | 5ab3a9cab930c14aa071acd30e894c88507e5e12 (patch) | |
tree | f8e3be55de0e56164c43badc2fa3055bb1bb2db2 | |
parent | 6ed61c49c3b95465de786e73ade9c75a97c2877c (diff) | |
download | aports-5ab3a9cab930c14aa071acd30e894c88507e5e12.tar.bz2 aports-5ab3a9cab930c14aa071acd30e894c88507e5e12.tar.xz |
testing/easy-rsa: fix install
autoconf is no longer used
-rw-r--r-- | testing/easy-rsa/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/easy-rsa/APKBUILD b/testing/easy-rsa/APKBUILD index b38f36e3be..3374a2dfa1 100644 --- a/testing/easy-rsa/APKBUILD +++ b/testing/easy-rsa/APKBUILD @@ -8,7 +8,7 @@ arch="noarch" license="GPL2" depends="openssl" depends_dev="" -makedepends="$depends_dev autoconf automake" +makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/$pkgver.tar.gz" @@ -22,19 +22,20 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - aclocal && autoconf && automake --add-missing } build() { cd "$_builddir" - ./configure --prefix=/usr - make || return 1 + return 0 } package() { cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/easy-rsa - make install DESTDIR="$pkgdir" || return 1 + mkdir -p "$pkgdir"/usr/share/easy-rsa \ + "$pkgdir"/usr/share/doc/easy-rsa + cp -rp easyrsa3/* "$pkgdir"/usr/share/easy-rsa/ \ + && cp -rp doc/* "$pkgdir"/usr/share/doc/easy-rsa/ \ + || return 1 } md5sums="3034c5698f391344337f58c6cab9bbfd easy-rsa-3.0.0.tar.gz" |