wok-next view ecm/receipt @ rev 20959

Fix minicom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 06 11:27:41 2018 +0200 (2018-09-06)
parents 261e630323f7
children d5aab818505e
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="slaxemulator@gmail.com"
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="ecm ecm-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 $DESTDIR/usr/bin
22 for i in *.c; do
23 echo "Compile $i..."
24 ./mkgcc ${i%.c} || return 1
25 cp -a ${i%.c} $DESTDIR/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 }