mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 07:31:35 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libdnet
|
|
pkgver=1.12
|
|
pkgrel=7
|
|
pkgdesc="A simplified, portable interface to several low-level networking routines"
|
|
url="https://github.com/dugsong/libdnet"
|
|
arch="all"
|
|
license="BSD"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
makedepends="autoconf automake bash libtool linux-headers"
|
|
source="https://github.com/dugsong/libdnet/archive/$pkgname-$pkgver.tar.gz
|
|
automake.patch
|
|
"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgname-$pkgver
|
|
prepare() {
|
|
default_prepare
|
|
# the libtool script does not add .so extention to we generate
|
|
# new libtool
|
|
aclocal -I config && autoconf && automake --force --add-missing \
|
|
&& libtoolize
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--without-python
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0 libdnet-1.12.tar.gz
|
|
8a47795c5edb5f67df46a59f2f4d8798b2e34f34e0aae3202a6cca8e475f105e08fa5586a432fba9f443c1df57441cffcdc08f5e4eb53df8e73c2a6c8c075477 automake.patch"
|