[arch-commits] Commit in libnet/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Eric Bélanger
eric at archlinux.org
Wed Feb 25 20:18:53 UTC 2009
Date: Wednesday, February 25, 2009 @ 15:18:53
Author: eric
Revision: 27772
fixed svn conflict
Modified:
libnet/repos/extra-x86_64/ (properties)
libnet/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
Property changes on: libnet/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /libnet/trunk:1
+ /libnet/trunk:1-27771
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2009-02-25 20:17:56 UTC (rev 27771)
+++ extra-x86_64/PKGBUILD 2009-02-25 20:18:53 UTC (rev 27772)
@@ -2,24 +2,23 @@
# Maintainer: damir <damir at archlinux.org>
pkgname=libnet
-origver=1.1.2.1
pkgver=1.1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A library which provides API for commonly used low-level net functions."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.packetfactory.net/libnet"
+license=('BSD')
depends=('glibc')
-source=($url/dist/$pkgname-$origver.tar.gz)
+source=(http://www.packetfactory.net/libnet/dist/$pkgname-$pkgver.tar.gz)
+md5sums=('be845c41170d72c7db524f3411b50256')
-
-
build() {
- cd $startdir/src/$pkgname
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -D -m755 libnet-config \
- $startdir/pkg/usr/bin/libnet-config
+ cd $srcdir/$pkgname
+ ./configure --prefix=/usr || return 1
+ make CFLAGS="${CFLAGS} -fPIC" || return 1
+ make DESTDIR=$pkgdir install install-man || return 1
+ install -D -m755 libnet-config $pkgdir/usr/bin/libnet-config || return 1
+ install -d $pkgdir/usr/share/man/man3
+ install -m644 doc/man/man3/* $pkgdir/usr/share/man/man3/
+ install -D -m644 doc/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
}
-
-md5sums=('be845c41170d72c7db524f3411b50256')
More information about the arch-commits
mailing list