wok-next view ecm/receipt @ rev 21604
updated duktape (2.3.0 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:30:47 2020 +0100 (2020-06-24) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ecm"
4 VERSION="1.03"
5 CATEGORY="misc"
6 SHORT_DESC="Converts CD image files into a lossless format optimized for \
7 compression tools"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://web.archive.org/web/20140328062622/http://www.neillcorlett.com/ecm/"
12 TARBALL="cmdpack-$VERSION-src.tar.gz"
13 WGET_URL="https://web.archive.org/web/20130616041227if_/http://www.neillcorlett.com/downloads/$TARBALL"
15 SPLIT="$PACKAGE-extras"
17 compile_rules() {
18 sed -i 's|-Werror||' src/mkgcc
19 cd $src/src
20 sed -i 's/uint8_t saved_address.4./& = {0,0,0,0}/' cdpatch.c
21 mkdir -p $install/usr/bin
22 for i in *.c; do
23 echo "Compile $i..."
24 ./mkgcc ${i%.c} || return 1
25 cp -a ${i%.c} $install/usr/bin
26 done
28 ln -sf ecm $install/usr/bin/unecm
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 ecm)
34 copy ecm unecm
35 ;;
36 ecm-extras)
37 copy @std @rm
38 CAT="misc|extra tools"
39 ;;
40 esac
41 }