add libexecinfo

This commit is contained in:
Ella-0 2021-06-20 17:49:13 +00:00
parent 0d31e36918
commit cabdc07954

28
pkgs/libexecinfo/build.sh Normal file
View file

@ -0,0 +1,28 @@
pkgname=libexecinfo
pkgver=20180201
fetch() {
curl -L "https://github.com/resslinux/libexecinfo/archive/refs/tags/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}