wok-current view hd2u/receipt @ rev 18877

Up slitaz-base-files(298), slitaz-boot-scripts(422)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 08 10:29:19 2016 +0200 (2016-02-08)
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 }