25 lines
451 B
Plaintext
25 lines
451 B
Plaintext
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}"
|
|
}
|