iglunix/base/libexecinfo/build.sh
2021-07-31 12:55:09 +00:00

28 lines
436 B
Bash

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
}