Added bison

This commit is contained in:
2025-09-21 12:35:33 +01:00
parent 9c2c456761
commit 382aee2ccc

24
devel/bison/PKGCONF Normal file
View File

@@ -0,0 +1,24 @@
VERSION=3.8
PACKAGE=bison
SRC=${PACKAGE}-${VERSION}.tar.gz
URL=${SITE_GNU}/${PACKAGE}/${SRC}
CATEGORY=devel
DEPENDS=libs/libiconv
configure() {
echo "Configuring $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
./configure
}
build() {
echo "Building $PACKAGE"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make -j ${NCPU}
}
install() {
echo "Installing $PACKAGE to ${DESTDIR}"
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
make install DESTDIR="${DESTDIR}"
}