wok-current view dhid/receipt @ rev 23364

updated perl-lwp-mediatypes (6.02 -> 6.04)
author Hans-G?nter Theisgen
date Tue Mar 31 11:15:57 2020 +0100 (2020-03-31)
parents
children bfabe25c21ff
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 }