2016-06-10 11:13:40 +02:00
|
|
|
# Description: Provides useful functions found on BSD systems
|
2021-02-07 13:23:34 +01:00
|
|
|
# URL: https://libbsd.freedesktop.org/
|
2021-05-29 22:31:59 +02:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2021-02-07 13:23:34 +01:00
|
|
|
# Depends on: libmd
|
2016-06-10 11:13:40 +02:00
|
|
|
|
|
|
|
name=libbsd
|
2022-04-15 17:13:12 +02:00
|
|
|
version=0.11.6
|
2022-10-03 19:32:37 +02:00
|
|
|
release=2
|
|
|
|
source=(https://libbsd.freedesktop.org/releases/$name-$version.tar.xz \
|
|
|
|
$name.conf)
|
2016-06-10 11:13:40 +02:00
|
|
|
|
|
|
|
build() {
|
2021-02-07 13:23:34 +01:00
|
|
|
cd $name-$version
|
2022-10-03 19:32:37 +02:00
|
|
|
./configure --prefix=/usr/opt/$name \
|
|
|
|
--mandir=/usr/share/man
|
2021-02-07 13:23:34 +01:00
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
2022-10-03 19:32:37 +02:00
|
|
|
install -Dm0644 $SRC/$name.conf $PKG/etc/ld.so.conf.d/$name.conf
|
2016-06-10 11:13:40 +02:00
|
|
|
}
|