wok-6.x view dhid/receipt @ rev 16853

libwebkit-video: don't use stuff in up to 1.11.92
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 04:20:26 2014 +0300 (2014-07-13)
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 }