wok-next view ecm/receipt @ rev 20441

linux, linux-dev: fix mess with i386|i486, update 32bit config
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 05:41:11 2018 +0200 (2018-02-24)
parents 223b265f40fd
children e323d0535e2c
line source
1 # SliTaz package receipt.
3 PACKAGE="ecm"
4 VERSION="1.03"
5 CATEGORY="misc"
6 SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 SOURCE="cmdpack"
10 TARBALL="$SOURCE-${VERSION}-src.tar.gz"
11 WEB_SITE="http://www.neillcorlett.com/ecm/"
12 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 sed -i 's/uint8_t saved_address.4./& = {0,0,0,0}/' cdpatch.c
19 mkdir -p $DESTDIR/usr/bin
20 for i in *.c; do
21 echo "Compile $i..."
22 ./mkgcc ${i%.c} || return 1
23 cp -a ${i%.c} $DESTDIR/usr/bin
24 done
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/ecm $fs/usr/bin
32 ln -sf ecm $fs/usr/bin/unecm
33 }