wok-6.x annotate hd2u/receipt @ rev 22963
updated isync (1.3.0 -> 1.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 16:58:37 2020 +0100 (2020-02-28) |
parents | a78610b2eb47 |
children | af8d823a3077 |
rev | line source |
---|---|
slaxemulator@6768 | 1 # SliTaz package receipt. |
slaxemulator@6768 | 2 |
slaxemulator@6768 | 3 PACKAGE="hd2u" |
Hans-G?nter@21030 | 4 VERSION="1.0.4" |
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" |
Hans-G?nter@21030 | 9 WEB_SITE="https://hany.sk/~hany/software/hd2u/" |
Hans-G?nter@21030 | 10 |
slaxemulator@6768 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20669 | 12 WGET_URL="https://hany.sk/~hany/_data/hd2u/$TARBALL" |
slaxemulator@6768 | 13 |
pascal@15000 | 14 DEPENDS="popt" |
pascal@15000 | 15 BUILD_DEPENDS="popt-dev" |
pascal@15000 | 16 |
slaxemulator@6768 | 17 # Rules to configure and make the package. |
slaxemulator@6768 | 18 compile_rules() |
slaxemulator@6768 | 19 { |
Hans-G?nter@21030 | 20 ./configure \ |
Hans-G?nter@21030 | 21 --prefix=/usr \ |
Hans-G?nter@21030 | 22 --infodir=/usr/share/info \ |
Hans-G?nter@21030 | 23 --mandir=/usr/share/man \ |
slaxemulator@6768 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21030 | 25 make -j 1 && |
Hans-G?nter@21030 | 26 make prefix=$DESTDIR/usr install |
slaxemulator@6768 | 27 } |
slaxemulator@6768 | 28 |
slaxemulator@6768 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6768 | 30 genpkg_rules() |
slaxemulator@6768 | 31 { |
slaxemulator@6768 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
slaxemulator@6768 | 34 } |
slaxemulator@6768 | 35 |
slaxemulator@7739 | 36 post_remove() |
slaxemulator@7739 | 37 { |
pascal@18730 | 38 ln -s /bin/busybox "$1/usr/bin/dos2unix" |
al@18734 | 39 } |