wok-current annotate libburn/receipt @ rev 18443
libgd: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 18:27:14 2015 +0200 (2015-09-24) |
parents | b7319995b37e |
children | 9ce16a41ce31 |
rev | line source |
---|---|
devl547@5624 | 1 # SliTaz package receipt. |
devl547@5624 | 2 |
devl547@5624 | 3 PACKAGE="libburn" |
slaxemulator@9577 | 4 VERSION="1.0.6" |
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" |
pascal@15472 | 8 LICENSE="GPL2" |
devl547@5624 | 9 TARBALL="$PACKAGE-$VERSION.pl00.tar.gz" |
devl547@5624 | 10 WEB_SITE="http://libburnia-project.org/" |
devl547@5624 | 11 WGET_URL="http://files.libburnia-project.org/releases/$TARBALL" |
devl547@5624 | 12 |
devl547@5624 | 13 # Rules to configure and make the package. |
devl547@5624 | 14 compile_rules() |
devl547@5624 | 15 { |
devl547@5624 | 16 cd $src |
slaxemulator@7599 | 17 #grep -qs 'define u8' libburn/sg-linux.c || |
slaxemulator@7599 | 18 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c |
gokhlayeh@11573 | 19 ./configure $CONFIGURE_ARGS && |
devl547@5624 | 20 make && |
slaxemulator@8365 | 21 make -j1 DESTDIR=$DESTDIR 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 |
pascal@15472 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@5624 | 29 } |