Added bmake and byacc

This commit is contained in:
Ella-0 2020-12-27 17:36:57 +00:00
parent cbbe7641e9
commit 3c2f4acc23
3 changed files with 79 additions and 0 deletions

32
pkgs/byacc/build.sh Normal file
View file

@ -0,0 +1,32 @@
pkgver=20200910
pkgname=byacc
bad=""
ext="doc"
fetch() {
curl https://invisible-island.net/datafiles/release/byacc.tar.gz -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/ --enable-btyacc
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
rm -r $pkgdir/share
}
package_doc() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
rm -r $pkgdir/bin
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}