summaryrefslogtreecommitdiff
path: root/community/libnet
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-23 00:01:14 +0000
committerroot <root@rshg054.dnsready.net>2012-03-23 00:01:14 +0000
commit1512c792951d7fbd2c9c336f9bf35654bbb85cc6 (patch)
treed786dcc22bc7f01d7629eb8a07415d2a904fc015 /community/libnet
parent39e662ccfbe62ae77d458159d192816171a22f43 (diff)
Fri Mar 23 00:01:14 UTC 2012
Diffstat (limited to 'community/libnet')
-rw-r--r--community/libnet/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libnet/PKGBUILD b/community/libnet/PKGBUILD
new file mode 100644
index 000000000..b113033fc
--- /dev/null
+++ b/community/libnet/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 68329 2012-03-21 20:31:50Z andrea $
+# Maintainer:
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=libnet
+pkgver=1.1.5
+pkgrel=2
+pkgdesc="A library which provides API for commonly used low-level net functions"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/libnet-dev/"
+license=('BSD')
+depends=('glibc' 'sh')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/libnet-dev/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a9bc1d75a610efcfee200d3e28d8eb8f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make CFLAGS="${CFLAGS} -fPIC"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 doc/COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}