wok-next view libburn/receipt @ rev 15168

nethack: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 23:11:23 2013 +0000 (2013-08-15)
parents 4119f5841ac1
children 6c3718ca17b6
line source
1 # SliTaz package receipt.
3 PACKAGE="libburn"
4 VERSION="1.0.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 $CONFIGURE_ARGS &&
19 make &&
20 make -j1 DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }