25 lines
457 B
Plaintext
25 lines
457 B
Plaintext
PACKAGE=mpc
|
|
VERSION=1.3.1
|
|
SRC=${PACKAGE}-${VERSION}.tar.gz
|
|
URL=${SITE_GNU}/${PACKAGE}/${SRC}
|
|
CATEGORY=libs
|
|
DEPENDS="libs/gmp libs/mpfr"
|
|
|
|
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}"
|
|
}
|