wok view hd2u/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents 9e01bc6321ea
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="hd2u"
4 VERSION="1.0.3"
5 CATEGORY="misc"
6 SHORT_DESC="Dos2Unix text file converter."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://hany.sk/~hany/software/hd2u/"
11 WGET_URL="http://hany.sk/~hany/_data/hd2u/$TARBALL"
13 DEPENDS="popt"
14 BUILD_DEPENDS="popt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make prefix=$DESTDIR/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }
34 post_remove()
35 {
36 ln -s /bin/busybox "$1/usr/bin/dos2unix"
37 }