wok-6.x diff dhid/receipt @ rev 19823
Up cookutils(887), yandex-disk: up bdeps and rebuild.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 02:42:35 2017 +0200 (2017-03-03) |
parents | |
children | bfabe25c21ff |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dhid/receipt Fri Mar 03 02:42:35 2017 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dhid" 1.7 +VERSION="5.5" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Open source Dynamic IP Updater." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://dhis.org" 1.14 +WGET_URL="ftp://ftp.dhis.org/pub/dhis/$TARBALL" 1.15 +CONFIG_FILES="/etc/dhid.conf" 1.16 +HOST_ARCH="i486 arm" 1.17 + 1.18 +DEPENDS="gmp" 1.19 +BUILD_DEPENDS="gmp-dev" 1.20 + 1.21 +# Handle cross comilation 1.22 +case "$ARCH" in 1.23 + arm) ARCH_FLAGS=" LFLAGS=-L/cross/$ARCH/sysroot/usr/lib" ;; 1.24 +esac 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + make CC=${HOST_SYSTEM}-gcc ${ARCH_FLAGS} 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/sbin $fs/etc $fs/usr/share/doc/dhid 1.36 + cp ${src}/dhid.conf.sample ${fs}/etc/dhid.conf 1.37 + cp ${src}/README ${fs}/usr/share/doc/dhid 1.38 + cp -a ${src}/dhid ${fs}/usr/sbin 1.39 + cp -a ${stuff}/init.d ${fs}/etc 1.40 +} 1.41 +