mirror of
https://github.com/pygos/build.git
synced 2024-11-17 00:47:10 +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
503 B
Text
Executable file
22 lines
503 B
Text
Executable file
VERSION="0.4.2"
|
|
SRCDIR="pkgtool-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
URL="https://infraroot.at/pygos"
|
|
SHA256SUM="845847e139bbb6e15ada8946032d1c114a8dde52cacb3d81f1b8370edab7ed9d"
|
|
DEPENDS=""
|
|
|
|
build() {
|
|
$1/configure --prefix="$TCDIR" --disable-static \
|
|
--build="$HOSTTUPLE" --host="$HOSTTUPLE" \
|
|
--with-repo-dir="$REPODIR" \
|
|
--with-install-root="$SYSROOT"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make install
|
|
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
|
}
|