mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:57:13 +08:00
35 lines
763 B
Bash
35 lines
763 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
# conributor Fabian Kosmale <0inkane@googlemail.com>
|
|
|
|
pkgname=libnl
|
|
pkgver=3.2.21
|
|
pkgrel=1
|
|
pkgdesc="Library for applications dealing with netlink sockets"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
conflicts=('libnl3')
|
|
backup=('etc/libnl/classid' 'etc/libnl/pktloc')
|
|
options=(!libtool)
|
|
source=("http://www.infradead.org/~tgr/libnl/files/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('6fe7136558a9071e70673dcda38545b3')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/usr/bin \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|