wok-next diff cdparanoia-III/receipt @ rev 19905

atril, directfb, libglu-mesa, libglw-mesa, waterline-plugin-multiload : update bdeps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Oct 12 19:04:50 2017 +0200 (2017-10-12)
parents a511baf85854
children d958fec46c9f
line diff
     1.1 --- a/cdparanoia-III/receipt	Wed Jul 06 10:09:09 2016 +0300
     1.2 +++ b/cdparanoia-III/receipt	Thu Oct 12 19:04:50 2017 +0200
     1.3 @@ -1,39 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cdparanoia-III"
     1.8  VERSION="10.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="CMDline CD ripper used by Asunder."
    1.11 +SHORT_DESC="An audio extraction tool for sampling CDs"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2.1"
    1.14  WEB_SITE="http://www.xiph.org/paranoia/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.src.tgz"
    1.17  WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
    1.18  
    1.19 +SPLIT="cdparanoia-III-dev"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	fgrep -qs 'define u8' interface/low_interface.h ||
    1.25 -	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.26 -		interface/low_interface.h
    1.27 +	# Use $DESTDIR
    1.28 +	sed -i 's|\$([A-Z]*DIR)|$(DESTDIR)&|' Makefile.in
    1.29  
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--infodir=/usr/share/info \
    1.33 -		--mandir=/usr/share/man \
    1.34 -		$CONFIGURE_ARGS &&
    1.35 -	make -j1
    1.36 -
    1.37 -	cook_pick_manpages cdparanoia.1
    1.38 -	mkdir -p $install/usr/share/man/jp/man1
    1.39 -	cp -a cdparanoia.1.jp $install/usr/share/man/jp/man1/cdparanoia.1
    1.40 +	./configure $CONFIGURE_ARGS && make -j1 && make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/bin $fs/usr/lib
    1.47 -	cp -a $src/cdparanoia $fs/usr/bin
    1.48 -	cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
    1.49 -	cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
    1.50 +	case $PACKAGE in
    1.51 +		cdparanoia-III) copy @std;;
    1.52 +		*-dev) copy @dev;;
    1.53 +	esac
    1.54  }