wok-next diff libcddb/receipt @ rev 20390

Up cookutils (1018), evilvte
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 01 16:24:18 2017 +0200 (2017-12-01)
parents a00bf44ed23d
children 0ec6086e21d6
line diff
     1.1 --- a/libcddb/receipt	Sat Aug 10 22:18:41 2013 +0000
     1.2 +++ b/libcddb/receipt	Fri Dec 01 16:24:18 2017 +0200
     1.3 @@ -1,31 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libcddb"
     1.8  VERSION="1.3.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="C library to access data on a CDDB server (freedb.org)."
    1.11 +SHORT_DESC="C library to access data on a CDDB server freedb.org"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2"
    1.14 +WEB_SITE="http://libcddb.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://libcddb.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 +SPLIT="libcddb-utils libcddb-dev"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	cd $src
    1.26 -	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--infodir=/usr/share/info \
    1.29 -		--mandir=/usr/share/man \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 -	make &&
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcddb.html
    1.34 +	./configure $CONFIGURE_ARGS && make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib
    1.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 +	case $PACKAGE in
    1.43 +		libcddb) copy *.so*;;
    1.44 +		*-utils) copy bin/; CAT="multimedia|utilities";;
    1.45 +		*-dev)   copy @dev;;
    1.46 +	esac
    1.47  }