smlinux/base/bison/bison.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

31 lines
655 B
Text
Executable file

app=bison
version=3.1
build=3sml
homepage="https://www.gnu.org/software/bison/bison.html"
download="https://ftp.gnu.org/gnu/bison/bison-$version.tar.xz"
desc="parser generator similar to yacc"
requires="m4"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
dadc5e1ee532cfacb149c130131b66f36a0bcf724737870a0820bbf1508e1d2035c0e06dda94518a477c330ec7f56eb2fbde38f74155c741b23556eb0c3de42c bison-3.1.tar.lz
"