aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-08-01 03:21:24 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-01 08:26:45 +0000
commitbe6a17ff7f2d03d46d88e60446999436f14bd641 (patch)
treee319e4d31f5d5d71e7274d1d182c7ea6d86c36d4
parenta93b64416aea1522614ecd2c01977cbb9c59b5cb (diff)
downloadaports-be6a17ff7f2d03d46d88e60446999436f14bd641.tar.gz
aports-be6a17ff7f2d03d46d88e60446999436f14bd641.tar.bz2
aports-be6a17ff7f2d03d46d88e60446999436f14bd641.tar.xz
main/libdnet: use SPDX license identifier
-rw-r--r--main/libdnet/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/libdnet/APKBUILD b/main/libdnet/APKBUILD
index 8d6324a378..f7b9bc620e 100644
--- a/main/libdnet/APKBUILD
+++ b/main/libdnet/APKBUILD
@@ -1,18 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdnet
pkgver=1.12
-pkgrel=7
+pkgrel=8
pkgdesc="A simplified, portable interface to several low-level networking routines"
url="https://github.com/dugsong/libdnet"
arch="all"
-license="BSD"
+license="BSD-3-Clause"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="autoconf automake bash libtool linux-headers"
-source="https://github.com/dugsong/libdnet/archive/$pkgname-$pkgver.tar.gz
+source="https://github.com/dugsong/libdnet/archive/libdnet-$pkgver.tar.gz
automake.patch
"
-
builddir="$srcdir"/$pkgname-$pkgname-$pkgver
+
prepare() {
default_prepare
# the libtool script does not add .so extention to we generate
@@ -22,7 +22,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,7 +32,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}