wok-next diff libart_lgpl/receipt @ rev 19904

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 12 18:55:33 2017 +0200 (2017-10-12)
parents 4904e3d374a9
children 0ec6086e21d6
line diff
     1.1 --- a/libart_lgpl/receipt	Tue Jun 11 10:41:23 2013 +0200
     1.2 +++ b/libart_lgpl/receipt	Thu Oct 12 18:55:33 2017 +0200
     1.3 @@ -1,31 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libart_lgpl"
     1.8  VERSION="2.3.21"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Free libart."
    1.11 +SHORT_DESC="A library for high-performance 2D graphics"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.levien.com/libart/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/"
    1.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -DEPENDS="glibc-base"
    1.22 +SPLIT="libart_lgpl-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.29 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.30 -	make
    1.31 +	./configure \
    1.32 +		--disable-static \
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib
    1.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +	case $PACKAGE in
    1.44 +		libart_lgpl) copy @std;;
    1.45 +		*-dev)       copy @dev;;
    1.46 +	esac
    1.47  }
    1.48 -