2021-12-26 12:40:14 +00:00
|
|
|
pkgname=strace
|
|
|
|
pkgver=5.13
|
2021-09-11 08:24:20 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-12-26 12:40:14 +00:00
|
|
|
curl "https://strace.io/files/$pkgver/strace-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
2021-09-11 08:24:20 +00:00
|
|
|
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
|
|
|
|
}
|