summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Cardace2015-10-05 13:02:40 +0200
committerAntonio Cardace2015-10-05 13:02:40 +0200
commita269e87d6e8d6fdcf690e8985708b6a96bdd5e23 (patch)
tree3b53f59805398c1c40cf79f6bb421701298b4d44 /PKGBUILD
downloadaur-a269e87d6e8d6fdcf690e8985708b6a96bdd5e23.tar.gz
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..11816cdf73f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Cardace <anto.cardace@gmail.com>
+pkgname=liblwipv6-svn
+pkgver=r1129
+pkgrel=1
+pkgdesc="User level (lightweight) TCP/IP stack with IPv6 support"
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/projects/view-os"
+license=('GPL2')
+depends=('glibc' 'libpcap>=0.8' 'vde2')
+makedepends=('autoconf' 'automake' 'make' 'libtool')
+provides=("$pkgname=$pkgver")
+conflicts=("$pkgname")
+replaces=("$pkgname")
+install="${pkgname}.install"
+source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/lwipv6"
+ "${pkgname}.install")
+md5sums=("SKIP"
+ "b4165e6142a92d65c8e14479486decc4")
+
+pkgver() {
+ cd "$srcdir/lwipv6"
+ local ver="$(svnversion)"
+ printf "r%s" "${ver//[[:alpha:]]}"
+}
+
+build(){
+ cd "$srcdir/lwipv6"
+ autoreconf -i
+ if [ "$CARCH" == "x86_64" ]; then
+ ./configure --prefix="${pkgdir}/usr" --disable-static
+ else
+ ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static
+ fi
+ make
+}
+
+package() {
+ cd "$srcdir/lwipv6"
+ make install
+}