wok-next view dhid/receipt @ rev 20097

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