25 lines
529 B
Plaintext
25 lines
529 B
Plaintext
VERSION=2.6.4
|
|
PACKAGE=flex
|
|
SRC=${PACKAGE}-${VERSION}.tar.gz
|
|
URL=ftp://ftp.majenko.co.uk/mirrors/github.com/westes/flex/${SRC}
|
|
CATEGORY=lang
|
|
DEPENDS="devel/automake devel/autoconf devel/libtool libs/gettext"
|
|
|
|
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}"
|
|
}
|