wok-current view dhid/receipt @ rev 19433
syslinux/taziso: parse 64bit kernels
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 02 15:40:25 2016 +0200 (2016-10-02) |
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 }