wok-current annotate libburn/receipt @ rev 7719
Add ode. Needed for alienarena and xmoto.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 19 12:44:09 2010 +0000 (2010-12-19) |
parents | 6d3fbf3b7348 |
children | 06da269ba27e |
rev | line source |
---|---|
devl547@5624 | 1 # SliTaz package receipt. |
devl547@5624 | 2 |
devl547@5624 | 3 PACKAGE="libburn" |
slaxemulator@7599 | 4 VERSION="0.9.0" |
devl547@5624 | 5 CATEGORY="utilities" |
devl547@5624 | 6 SHORT_DESC="libburnia is a project for reading, mastering and writing optical discs." |
devl547@5624 | 7 MAINTAINER="devl547@gmail.com" |
devl547@5624 | 8 TARBALL="$PACKAGE-$VERSION.pl00.tar.gz" |
devl547@5624 | 9 WEB_SITE="http://libburnia-project.org/" |
devl547@5624 | 10 WGET_URL="http://files.libburnia-project.org/releases/$TARBALL" |
devl547@5624 | 11 |
devl547@5624 | 12 # Rules to configure and make the package. |
devl547@5624 | 13 compile_rules() |
devl547@5624 | 14 { |
devl547@5624 | 15 cd $src |
slaxemulator@7599 | 16 #grep -qs 'define u8' libburn/sg-linux.c || |
slaxemulator@7599 | 17 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c |
devl547@5624 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5624 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
devl547@5624 | 20 make && |
devl547@5624 | 21 make DESTDIR=$PWD/_pkg install |
devl547@5624 | 22 } |
devl547@5624 | 23 |
devl547@5624 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5624 | 25 genpkg_rules() |
devl547@5624 | 26 { |
devl547@5624 | 27 mkdir -p $fs/usr/lib |
devl547@5624 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
devl547@5624 | 29 } |