wok-next view ecm/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | b19ddba309f9 |
children | a3c581bf52b8 |
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="http://www.neillcorlett.com/ecm/"
12 TARBALL="cmdpack-$VERSION-src.tar.gz"
13 WGET_URL="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 }