wok-4.x rev 80

Add : cdparanoia + devel package
author Christophe Lincoln <pankso@slitaz.org>
date Sun Dec 30 22:56:16 2007 +0100 (2007-12-30)
parents ed0383bf9db6
children 485002daf01b
files cdparanoia-dev/receipt cdparanoia/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cdparanoia-dev/receipt	Sun Dec 30 22:56:16 2007 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cdparanoia-dev"
     1.7 +VERSION="III-10pre0"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="CMDline CD ripper used by Asunder."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="cdparanoia"
    1.12 +WEB_SITE="http://www.xiph.org/paranoia/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/include $fs/usr/lib
    1.18 +
    1.19 +	cp -a $src/interface/libcdda_interface.a $fs/usr/lib
    1.20 +	cp -a $src/paranoia/libcdda_paranoia.a $fs/usr/lib
    1.21 +	
    1.22 +	cp -a $src/interface/cdda_interface.h $fs/usr/include
    1.23 +	cp -a $src/paranoia/cdda_paranoia.h $fs/usr/include
    1.24 +	cp -a $src/utils.h $fs/usr/include
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cdparanoia/receipt	Sun Dec 30 22:56:16 2007 +0100
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cdparanoia"
     2.7 +VERSION="III-10pre0"
     2.8 +CATEGORY="extra"
     2.9 +SHORT_DESC="CMDline CD ripper used by Asunder."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.src.tgz"
    2.12 +WEB_SITE="http://www.xiph.org/paranoia/"
    2.13 +WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	./configure \
    2.20 +		--prefix=/usr \
    2.21 +		--infodir=/usr/share/info \
    2.22 +		--mandir=/usr/share/man
    2.23 +	make
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/bin $fs/usr/lib
    2.30 +	
    2.31 +	cp -a $src/$PACKAGE $fs/usr/bin
    2.32 +	cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
    2.33 +	cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
    2.34 +	
    2.35 +	strip -s $fs/usr/lib/* 2>/dev/null
    2.36 +	strip -s $fs/usr/bin/* 2>/dev/null
    2.37 +}