Added util/grep
This commit is contained in:
23
util/grep/PKGCONF
Normal file
23
util/grep/PKGCONF
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
VERSION=3.12
|
||||||
|
PACKAGE=grep
|
||||||
|
SRC=${PACKAGE}-${VERSION}.tar.gz
|
||||||
|
URL=${SITE_GNU}/${PACKAGE}/${SRC}
|
||||||
|
CATEGORY=util
|
||||||
|
|
||||||
|
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}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user