2021-04-10 09:00:33 +00:00
|
|
|
pkgname=libnl-tiny
|
|
|
|
pkgver=master
|
|
|
|
|
|
|
|
fetch() {
|
2021-05-23 09:26:39 +00:00
|
|
|
curl -L "https://github.com/sabotage-linux/libnl-tiny/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
2021-04-10 09:00:33 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
2021-04-10 10:01:16 +00:00
|
|
|
cd $pkgname-$pkgver
|
2021-04-10 09:00:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-09-30 14:01:41 +00:00
|
|
|
bad --gmake gmake prefix=/usr all CC=cc
|
2021-04-10 09:00:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-09-30 14:01:41 +00:00
|
|
|
bad --gmake gmake prefix=/usr DESTDIR=$pkgdir install
|
2021-04-10 09:00:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
2021-06-20 10:23:24 +00:00
|
|
|
curl "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt"
|
2021-04-10 09:00:33 +00:00
|
|
|
}
|