# SliTaz package receipt.

PACKAGE="libburn"
VERSION="1.0.6"
CATEGORY="utilities"
SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
MAINTAINER="devl547@gmail.com"
TARBALL="$PACKAGE-$VERSION.pl00.tar.gz"
WEB_SITE="http://libburnia-project.org/"
WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	#grep -qs 'define u8' libburn/sg-linux.c ||
	#sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c
	./configure $CONFIGURE_ARGS &&
	make &&
	make -j1 DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}