summaryrefslogtreecommitdiffstats
path: root/main/libnet/APKBUILD
blob: 558f827b7478961cfe09dd40a58293d6143abf07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Your Name <youremail@domain.com>
pkgname=libnet
pkgver=1.1.4
pkgrel=1
pkgdesc="A generic networking API that provides access to several protocols."
url="http://sourceforge.net/projects/libnet-dev/"
license="BSD"
depends=
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="http://sourceforge.net/projects/libnet-dev/files/libnet-dev/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="c5e06418a89cc4209f677a776a798fd9  libnet-1.1.4.tar.gz"