wok-current annotate hd2u/receipt @ rev 20669
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 12:26:11 2019 +0100 (2019-01-21) |
parents | d6ca18366f41 |
children | be7981c477c5 |
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" |
pascal@20669 | 10 WEB_SITE="https://hany.sk/~hany/software/hd2u/" |
pascal@20669 | 11 WGET_URL="https://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 } |