wok annotate dhid/receipt @ rev 19685

Up tazpkg (942)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 12 04:43:38 2017 +0200 (2017-02-12)
parents
children bfabe25c21ff
rev   line source
pankso@16505 1 # SliTaz package receipt.
pankso@16505 2
pankso@16505 3 PACKAGE="dhid"
pankso@16505 4 VERSION="5.5"
pankso@16505 5 CATEGORY="network"
pankso@16505 6 SHORT_DESC="Open source Dynamic IP Updater."
pankso@16505 7 MAINTAINER="pankso@slitaz.org"
pankso@16505 8 LICENSE="BSD"
pankso@16505 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16505 10 WEB_SITE="http://dhis.org"
pankso@16505 11 WGET_URL="ftp://ftp.dhis.org/pub/dhis/$TARBALL"
pankso@16505 12 CONFIG_FILES="/etc/dhid.conf"
pankso@16505 13 HOST_ARCH="i486 arm"
pankso@16505 14
pankso@16505 15 DEPENDS="gmp"
pankso@16505 16 BUILD_DEPENDS="gmp-dev"
pankso@16505 17
pankso@16505 18 # Handle cross comilation
pankso@16505 19 case "$ARCH" in
pankso@16505 20 arm) ARCH_FLAGS=" LFLAGS=-L/cross/$ARCH/sysroot/usr/lib" ;;
pankso@16505 21 esac
pankso@16505 22
pankso@16505 23 # Rules to configure and make the package.
pankso@16505 24 compile_rules()
pankso@16505 25 {
pankso@16505 26 make CC=${HOST_SYSTEM}-gcc ${ARCH_FLAGS}
pankso@16505 27 }
pankso@16505 28
pankso@16505 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16505 30 genpkg_rules()
pankso@16505 31 {
pankso@16505 32 mkdir -p $fs/usr/sbin $fs/etc $fs/usr/share/doc/dhid
pankso@16505 33 cp ${src}/dhid.conf.sample ${fs}/etc/dhid.conf
pankso@16505 34 cp ${src}/README ${fs}/usr/share/doc/dhid
pankso@16505 35 cp -a ${src}/dhid ${fs}/usr/sbin
pankso@16505 36 cp -a ${stuff}/init.d ${fs}/etc
pankso@16505 37 }
pankso@16505 38