wok view cdrkit/receipt @ rev 14909

slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 05 11:40:01 2013 +0300 (2013-08-05)
parents cbfb348cb173
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrkit"
4 VERSION="1.1.11"
5 CATEGORY="utilities"
6 SHORT_DESC="Wodim for recording/blanking CDs/DVDs and genisoimage for ISO."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.cdrkit.org/"
10 WGET_URL="http://cdrkit.org/releases/$TARBALL"
12 DEPENDS="libcap zlib bzlib attr"
13 BUILD_DEPENDS="cmake libcap-dev zlib-dev bzip2-dev attr-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
20 genisoimage/CMakeLists.txt
21 #patch -p1 < $stuff/$PACKAGE-1.1.9-glibc-2.10.patch || return 1
22 #grep -qs 'define u8' libusal/scsi-linux-sg.c ||
23 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c
24 make PREFIX=/usr && make install PREFIX=/usr
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp $_pkg/usr/bin/genisoimage $fs/usr/bin
32 cp $_pkg/usr/bin/wodim $fs/usr/bin
33 # Make symlinks for cdrtools compatibility
34 cd $fs/usr/bin
35 ln -s wodim cdrecord
36 ln -s genisoimage mkisofs
37 ln -s genisoimage mkhybrid
38 }