diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libnet/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libnet/PKGBUILD')
-rw-r--r-- | extra/libnet/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/libnet/PKGBUILD b/extra/libnet/PKGBUILD new file mode 100644 index 000000000..812ae9a4a --- /dev/null +++ b/extra/libnet/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 105390 2011-01-08 15:09:56Z andrea $ +# Maintainer: +# Contributor: damir <damir@archlinux.org> + +pkgname=libnet +pkgver=1.1.5 +pkgrel=1 +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" +} |