lots of stuffs

This commit is contained in:
Ella-0 2021-01-17 19:15:45 +00:00
parent 9554174f21
commit 422942d6d7
19 changed files with 656 additions and 11 deletions

30
pkgs/libffi/build.sh Normal file
View file

@ -0,0 +1,30 @@
pkgver=3.3
pkgname=libffi
bad="gmake"
ext="dev"
fetch() {
curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
gmake
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
}
package_dev() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}