wok-next annotate ecm/receipt @ rev 21079
emacs: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 14:46:21 2018 +0200 (2018-12-22) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
slaxemulator@7521 | 2 |
slaxemulator@7521 | 3 PACKAGE="ecm" |
pascal@12754 | 4 VERSION="1.03" |
slaxemulator@7521 | 5 CATEGORY="misc" |
al@20463 | 6 SHORT_DESC="Converts CD image files into a lossless format optimized for \ |
al@20463 | 7 compression tools" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@15202 | 9 LICENSE="GPL3" |
al@20906 | 10 WEB_SITE="https://web.archive.org/web/20140328062622/http://www.neillcorlett.com/ecm/" |
al@20463 | 11 |
al@20463 | 12 TARBALL="cmdpack-$VERSION-src.tar.gz" |
al@20906 | 13 WGET_URL="https://web.archive.org/web/20130616041227if_/http://www.neillcorlett.com/downloads/$TARBALL" |
slaxemulator@7521 | 14 |
al@21020 | 15 SPLIT="$PACKAGE-extras" |
al@20463 | 16 |
al@20463 | 17 compile_rules() { |
al@20524 | 18 sed -i 's|-Werror||' src/mkgcc |
pascal@12754 | 19 cd $src/src |
pascal@20256 | 20 sed -i 's/uint8_t saved_address.4./& = {0,0,0,0}/' cdpatch.c |
al@21020 | 21 mkdir -p $install/usr/bin |
pascal@12754 | 22 for i in *.c; do |
pascal@12754 | 23 echo "Compile $i..." |
pascal@12754 | 24 ./mkgcc ${i%.c} || return 1 |
al@21020 | 25 cp -a ${i%.c} $install/usr/bin |
slaxemulator@7521 | 26 done |
al@20519 | 27 |
al@20519 | 28 ln -sf ecm $install/usr/bin/unecm |
slaxemulator@7521 | 29 } |
slaxemulator@7521 | 30 |
al@20463 | 31 genpkg_rules() { |
al@20463 | 32 case $PACKAGE in |
al@20463 | 33 ecm) |
al@20519 | 34 copy ecm unecm |
al@20463 | 35 ;; |
al@20463 | 36 ecm-extras) |
al@20519 | 37 copy @std @rm |
al@20463 | 38 CAT="misc|extra tools" |
al@20463 | 39 ;; |
al@20463 | 40 esac |
slaxemulator@7521 | 41 } |