diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | liblwipv6-svn.install | 6 |
3 files changed, 10 insertions, 6 deletions
@@ -20,7 +20,7 @@ pkgbase = liblwipv6-svn source = svn+http://svn.code.sf.net/p/view-os/code/trunk/lwipv6 source = liblwipv6-svn.install md5sums = SKIP - md5sums = b4165e6142a92d65c8e14479486decc4 + md5sums = b6652a20b64c473886c3372d620ca788 pkgname = liblwipv6-svn @@ -15,7 +15,7 @@ install="${pkgname}.install" source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/lwipv6" "${pkgname}.install") md5sums=("SKIP" - "b4165e6142a92d65c8e14479486decc4") + "b6652a20b64c473886c3372d620ca788") pkgver() { cd "$srcdir/lwipv6" @@ -27,14 +27,14 @@ build(){ cd "$srcdir/lwipv6" autoreconf -i if [ "$CARCH" == "x86_64" ]; then - ./configure --prefix="${pkgdir}/usr" --disable-static + ./configure --prefix="/usr" --disable-static else - ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static + ./configure --prefix="/usr" --libdir="/usr/lib32" --disable-static fi make } package() { cd "$srcdir/lwipv6" - make install + make DESTDIR="$pkgdir" install } diff --git a/liblwipv6-svn.install b/liblwipv6-svn.install index dc2ebedcdc56..bf494e368d60 100644 --- a/liblwipv6-svn.install +++ b/liblwipv6-svn.install @@ -1,6 +1,10 @@ post_install() { set -e - ldconfig + if [ "$CARCH" == "x86_64" ]; then + libtool --finish /usr/lib + else + libtool --finish /usr/lib32 + fi } post_remove() { |