blob: 3b4fafb6ae6e0679c42853af361dc6331841e720 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/mkpkg
# description: Berkeley yacc parser generator
# url: https://invisible-island.net/byacc/
name=byacc
version=20260126
release=1
source=(
https://invisible-island.net/archives/byacc/byacc-$version.tgz
)
sha256sums=(
"b618c5fb44c2f5f048843db90f7d1b24f78f47b07913c8c7ba8c942d3eb24b00"
)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--program-transform-name='s,^,b,'
make
make DESTDIR=$PKG install
ln -s byacc $PKG/usr/bin/yacc
}
# vim: filetype=sh
|