wok view ecm/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 223b265f40fd
children 0b32f22bb251
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="https://web.archive.org/web/20140328062622/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 mkdir -p $DESTDIR/usr/bin
19 for i in *.c; do
20 echo "Compile $i..."
21 ./mkgcc ${i%.c} || return 1
22 cp -a ${i%.c} $DESTDIR/usr/bin
23 done
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/ecm $fs/usr/bin
31 ln -sf ecm $fs/usr/bin/unecm
32 }