wok-next diff libburn/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | 6c3718ca17b6 |
children | 0ec6086e21d6 |
line diff
1.1 --- a/libburn/receipt Sat Nov 09 17:34:23 2013 +0000 1.2 +++ b/libburn/receipt Sun Mar 04 04:56:40 2018 +0200 1.3 @@ -1,29 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libburn" 1.8 -VERSION="1.0.6" 1.9 +VERSION="1.4.8" 1.10 CATEGORY="utilities" 1.11 -SHORT_DESC="libburnia is a project for reading, mastering and writing optical discs." 1.12 +SHORT_DESC="Reading, mastering and writing optical discs" 1.13 MAINTAINER="devl547@gmail.com" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.pl00.tar.gz" 1.16 -WEB_SITE="http://libburnia-project.org/" 1.17 +WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wikis/home" 1.18 + 1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 WGET_URL="http://files.libburnia-project.org/releases/$TARBALL" 1.21 1.22 +SPLIT="libburn-dev" 1.23 + 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - cd $src 1.28 - #grep -qs 'define u8' libburn/sg-linux.c || 1.29 - #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c 1.30 - ./configure $CONFIGURE_ARGS && 1.31 - make && 1.32 - make -j1 DESTDIR=$DESTDIR install 1.33 + ./configure $CONFIGURE_ARGS && make && make install 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 + case $PACKAGE in 1.42 + libburn) copy @std;; 1.43 + *-dev) copy @dev;; 1.44 + esac 1.45 }