wok-current view libburn/receipt @ rev 6266

Fix pixman. Added glib-dev for build depends even though i can build without it. Not building with -j 4.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 14 17:50:39 2010 +0000 (2010-09-14)
parents 9fa709cfee75
children 6d3fbf3b7348
line source
1 # SliTaz package receipt.
3 PACKAGE="libburn"
4 VERSION="0.8.0"
5 CATEGORY="utilities"
6 SHORT_DESC="libburnia is a project for reading, mastering and writing optical discs."
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.pl00.tar.gz"
9 WEB_SITE="http://libburnia-project.org/"
10 WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 grep -qs 'define u8' libburn/sg-linux.c ||
17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }