mirror of
https://github.com/pygos/build.git
synced 2024-11-14 15:37:11 +01:00
David Oberhollenzer
fa4eff263b
This commit adds an "emptypackage" template that implements defaults for all package functions and is included before every package. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
22 lines
491 B
Text
Executable file
22 lines
491 B
Text
Executable file
VERSION="6.2.0"
|
|
SRCDIR="gmp-$VERSION"
|
|
TARBALL="gmp-$VERSION.tar.bz2"
|
|
URL="http://ftp.gnu.org/gnu/gmp"
|
|
SHA256SUM="f51c99cb114deb21a60075ffb494c1a210eb9d7cb729ed042ddb7de9534451ea"
|
|
DEPENDS="toolchain"
|
|
SUBPKG="gmp gmp-dev gmp++ gmp++-dev"
|
|
|
|
build() {
|
|
run_configure "$1" --enable-cxx
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
unfuck_libtool
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
|
}
|
|
|
|
check_update() {
|
|
check_update_simple "$URL" "gmp" "tar.bz2"
|
|
}
|