eth0s/ports/core/pkgconf/Pkgfile

22 lines
575 B
Text
Raw Normal View History

2021-05-04 08:20:54 +08:00
# Description: Package compiler and linker metadata toolkit
name=pkgconf
2022-04-09 08:19:46 +08:00
version=1.8.0
2021-05-04 08:20:54 +08:00
release=1
source=(http://distfiles.dereferenced.org/$name/$name-$version.tar.xz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-pkg-config-dir="/usr/lib/pkgconfig:/usr/share/pkgconfig" \
--with-system-libdir="/lib:/usr/lib" \
--with-system-includedir="/usr/include"
make
make DESTDIR=$PKG install
ln -sf pkgconf "$PKG"/usr/bin/pkg-config
}