moving packages
This commit is contained in:
parent
d2235a7fc5
commit
7488ce0293
48 changed files with 0 additions and 0 deletions
40
base/byacc/build.sh
Normal file
40
base/byacc/build.sh
Normal file
|
@ -0,0 +1,40 @@
|
|||
pkgver=20210328
|
||||
pkgname=byacc
|
||||
deps="musl"
|
||||
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
|
||||
# Merged upstream; Don't need
|
||||
# cp ../reader-mesa.patch .
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--program-prefix=b \
|
||||
--enable-btyacc
|
||||
# patch -p1 < ../reader-mesa.patch
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
ln -sr $pkgdir/usr/bin/byacc $pkgdir/usr/bin/yacc
|
||||
rm -r $pkgdir/usr/share
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
rm -r $pkgdir/usr/bin
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue