wok annotate hd2u/receipt @ rev 20324
linux: aufs source comes from linux-aufs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 21 20:02:33 2018 +0200 (2018-05-21) |
parents | 9e01bc6321ea |
children | a78610b2eb47 |
rev | line source |
---|---|
slaxemulator@6768 | 1 # SliTaz package receipt. |
slaxemulator@6768 | 2 |
slaxemulator@6768 | 3 PACKAGE="hd2u" |
slaxemulator@6768 | 4 VERSION="1.0.3" |
slaxemulator@6768 | 5 CATEGORY="misc" |
slaxemulator@6768 | 6 SHORT_DESC="Dos2Unix text file converter." |
pascal@13025 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@6768 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6768 | 10 WEB_SITE="http://hany.sk/~hany/software/hd2u/" |
slaxemulator@6768 | 11 WGET_URL="http://hany.sk/~hany/_data/hd2u/$TARBALL" |
slaxemulator@6768 | 12 |
pascal@15000 | 13 DEPENDS="popt" |
pascal@15000 | 14 BUILD_DEPENDS="popt-dev" |
pascal@15000 | 15 |
slaxemulator@6768 | 16 # Rules to configure and make the package. |
slaxemulator@6768 | 17 compile_rules() |
slaxemulator@6768 | 18 { |
slaxemulator@6768 | 19 ./configure \ |
slaxemulator@6768 | 20 --prefix=/usr \ |
slaxemulator@6768 | 21 --infodir=/usr/share/info \ |
slaxemulator@6768 | 22 --mandir=/usr/share/man \ |
slaxemulator@6768 | 23 $CONFIGURE_ARGS && |
pascal@15000 | 24 make && make prefix=$DESTDIR/usr install |
slaxemulator@6768 | 25 } |
slaxemulator@6768 | 26 |
slaxemulator@6768 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6768 | 28 genpkg_rules() |
slaxemulator@6768 | 29 { |
slaxemulator@6768 | 30 mkdir -p $fs/usr |
pascal@15000 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@6768 | 32 } |
slaxemulator@6768 | 33 |
slaxemulator@7739 | 34 post_remove() |
slaxemulator@7739 | 35 { |
pascal@18730 | 36 ln -s /bin/busybox "$1/usr/bin/dos2unix" |
al@18734 | 37 } |