wok-next view hd2u/receipt @ rev 20667

qemu/qemu-light: race condition, ppp/sane-backends: set group
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 09:27:12 2018 +0200 (2018-05-11)
parents 9e01bc6321ea
children 65f5c0b7dcd4
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 }