blob: 3bf7490a85925690509d81f554d1d11c75aab5f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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' 'mips64el')
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"
}
|