mirror of
https://github.com/pygos/build.git
synced 2024-11-14 23:47: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>
15 lines
407 B
Text
Executable file
15 lines
407 B
Text
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"
|
|
}
|