wok-4.x view cdrdao/receipt @ rev 4472
linux .config (some changes similar to 2.6.29.3); add a modules check to receipt
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Nov 09 14:00:35 2009 +0000 (2009-11-09) |
parents | a120bd16ac79 |
children | 964f5d384827 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrdao"
4 VERSION="1.2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Records audio/data CD-Rs using toc files"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gcc-lib-base lame libmad libvorbis libao"
9 BUILD_DEPENDS="lame-dev libmad-dev libvorbis-dev libao-dev libao"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://downloads.sourceforge.net/$PACKAGE"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 for i in trackdb/*.cc ; do
19 grep -q string.h $i && continue
20 grep -q util.h $i || continue
21 sed -i 's/"util.h"/&\n#include <string.h>/' $i
22 done
23 find -name '*.c' | xargs sed -i -e 's/getline/get_line/' \
24 -e 's/fexecve/fexec_ve/' scsilib/include/schily.h
25 ./configure --prefix=/usr --with-lame &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $_pkg/usr/bin/cdrdao $fs/usr/bin
35 cp -a $_pkg/usr/share $fs/usr
37 }