Added util/coreutils
This commit is contained in:
24
util/coreutils/PKGCONF
Normal file
24
util/coreutils/PKGCONF
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
VERSION=9.7
|
||||||
|
PACKAGE=coreutils
|
||||||
|
SRC=${PACKAGE}-${VERSION}.tar.gz
|
||||||
|
URL=${SITE_GNU}/${PACKAGE}/${SRC}
|
||||||
|
CATEGORY=util
|
||||||
|
#DEPENDS=libs/libiconv
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
echo "Configuring $PACKAGE"
|
||||||
|
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||||
|
./configure --disable-year2038
|
||||||
|
}
|
||||||
|
|
||||||
|
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