wok-stable view libburn/receipt @ rev 7110
Fixed get-linux-source script in linux-source.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 18:05:23 2010 +0000 (2010-11-03) |
parents | 964f5d384827 |
children | b1a7426c421c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libburn"
4 VERSION="0.8.6"
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 }