More libs and deps
This commit is contained in:
25
lang/flex/PKGCONF
Normal file
25
lang/flex/PKGCONF
Normal file
@@ -0,0 +1,25 @@
|
||||
VERSION=2.6.4
|
||||
PACKAGE=flex
|
||||
SRC=${PACKAGE}-${VERSION}.tar.gz
|
||||
URL=git://github.com/westes/${PACKAGE}@v${VERSION}
|
||||
CATEGORY=devel
|
||||
DEPENDS="devel/automake devel/autoconf devel/libtool libs/gettext"
|
||||
|
||||
configure() {
|
||||
echo "Configuring $PACKAGE"
|
||||
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||
./autogen.sh
|
||||
./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}"
|
||||
}
|
||||
Reference in New Issue
Block a user