wok-6.x annotate ecm/receipt @ rev 21512
updated nagios-plugins (1.4.16 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 12:54:18 2019 +0100 (2019-05-03) |
parents | 223b265f40fd |
children | 0b32f22bb251 |
rev | line source |
---|---|
slaxemulator@7521 | 1 # SliTaz package receipt. |
slaxemulator@7521 | 2 |
slaxemulator@7521 | 3 PACKAGE="ecm" |
pascal@12754 | 4 VERSION="1.03" |
slaxemulator@7521 | 5 CATEGORY="misc" |
slaxemulator@7521 | 6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" |
slaxemulator@7521 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15202 | 8 LICENSE="GPL3" |
slaxemulator@12766 | 9 SOURCE="cmdpack" |
slaxemulator@12766 | 10 TARBALL="$SOURCE-${VERSION}-src.tar.gz" |
pascal@20671 | 11 WEB_SITE="https://web.archive.org/web/20140328062622/http://www.neillcorlett.com/ecm/" |
gokhlayeh@8548 | 12 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" |
slaxemulator@7521 | 13 |
slaxemulator@7521 | 14 # Rules to configure and make the package. |
slaxemulator@7521 | 15 compile_rules() |
slaxemulator@7521 | 16 { |
pascal@12754 | 17 cd $src/src |
slaxemulator@12766 | 18 mkdir -p $DESTDIR/usr/bin |
pascal@12754 | 19 for i in *.c; do |
pascal@12754 | 20 echo "Compile $i..." |
pascal@12754 | 21 ./mkgcc ${i%.c} || return 1 |
slaxemulator@12766 | 22 cp -a ${i%.c} $DESTDIR/usr/bin |
slaxemulator@7521 | 23 done |
slaxemulator@7521 | 24 } |
slaxemulator@7521 | 25 |
slaxemulator@7521 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7521 | 27 genpkg_rules() |
slaxemulator@7521 | 28 { |
slaxemulator@7521 | 29 mkdir -p $fs/usr/bin |
slaxemulator@12766 | 30 cp -a $install/usr/bin/ecm $fs/usr/bin |
slaxemulator@12766 | 31 ln -sf ecm $fs/usr/bin/unecm |
slaxemulator@7521 | 32 } |
slaxemulator@7521 | 33 |