wok-6.x view hd2u/receipt @ rev 21160

Up ufraw (0.22)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 15:04:44 2019 +0200 (2019-03-31)
parents a78610b2eb47
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="hd2u"
4 VERSION="1.0.4"
5 CATEGORY="misc"
6 SHORT_DESC="Dos2Unix text file converter."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://hany.sk/~hany/software/hd2u/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://hany.sk/~hany/_data/hd2u/$TARBALL"
14 DEPENDS="popt"
15 BUILD_DEPENDS="popt-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make prefix=$DESTDIR/usr install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }
36 post_remove()
37 {
38 ln -s /bin/busybox "$1/usr/bin/dos2unix"
39 }