mirror of
https://github.com/pygos/build.git
synced 2024-05-20 12:36:14 +02: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>
16 lines
407 B
Plaintext
Executable file
16 lines
407 B
Plaintext
Executable file
VERSION="1"
|
|
SRCDIR="iana-etc-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
URL="http://infraroot.at/pygos"
|
|
SHA256SUM="1d38d5d90fa04e6f2cca46aad575d1b1c63d9443150abf66fe4dfaf0409358c2"
|
|
DEPENDS="toolchain"
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
|
|
mkdir -p "$PKGDEPLOYDIR/etc"
|
|
cp "$SOURCE/protocols" "$PKGDEPLOYDIR/etc"
|
|
cp "$SOURCE/services" "$PKGDEPLOYDIR/etc"
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
|
}
|