summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--liblwipv6-svn.install6
3 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ac4af1e8e63..3c630c12f68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 11816cdf73f..d2f1f8849b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 dc2ebedcdc5..bf494e368d6 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() {