wok-next diff libisofs/receipt @ rev 20250

jwm, lockdis: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 12:15:09 2017 +0100 (2017-11-07)
parents 8f447cf2eee5
children 25deb7c6df08
line diff
     1.1 --- a/libisofs/receipt	Sat Nov 09 20:47:29 2013 +0000
     1.2 +++ b/libisofs/receipt	Tue Nov 07 12:15:09 2017 +0100
     1.3 @@ -1,26 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libisofs"
     1.8  VERSION="1.0.8"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
    1.11 +SHORT_DESC="Reading, mastering and writing optical discs"
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wikis/home"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://libburnia-project.org/"
    1.18  WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 -	./configure $CONFIGURE_ARGS &&
    1.25 -	make -j1 && make -j1 install
    1.26 +BUILD_DEPENDS="gfortran acl-dev attr-dev zlib-dev libjte-dev"
    1.27 +SPLIT="libisofs-dev"
    1.28 +
    1.29 +compile_rules() {
    1.30 +	./configure $CONFIGURE_ARGS && make && make install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/lib
    1.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +genpkg_rules() {
    1.39 +	case $PACKAGE in
    1.40 +		libisofs)
    1.41 +			copy @std
    1.42 +			DEPENDS="acl libjte zlib"
    1.43 +			;;
    1.44 +		*-dev)
    1.45 +			copy @dev
    1.46 +			DEPENDS="libisofs acl-dev attr-dev bzip2-dev libjte-dev zlib-dev"
    1.47 +			;;
    1.48 +	esac
    1.49  }