wok-next diff libgtkimageview/receipt @ rev 20557

Remove *.la files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:01:14 2018 +0300 (2018-04-07)
parents d43bf7aae921
children 25deb7c6df08
line diff
     1.1 --- a/libgtkimageview/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/libgtkimageview/receipt	Sat Apr 07 16:01:14 2018 +0300
     1.3 @@ -3,47 +3,32 @@
     1.4  PACKAGE="libgtkimageview"
     1.5  VERSION="1.6.4"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="Simple image viewer widget for GTK."
     1.8 +SHORT_DESC="Simple image viewer widget for GTK"
     1.9  MAINTAINER="gokhlayeh@slitaz.org"
    1.10  LICENSE="LGPL2.1"
    1.11 +WEB_SITE="http://trac.bjourne.webfactional.com/" 
    1.12 +
    1.13  SOURCE="gtkimageview"
    1.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://trac.bjourne.webfactional.com/" 
    1.16  WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL?format=raw"
    1.17  
    1.18  BUILD_DEPENDS="gtk+-dev expat-dev"
    1.19 -SPLIT="libgtkimageview libgtkimageview-dev"
    1.20 +SPLIT="libgtkimageview-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	./configure \
    1.26 -		--prefix=/usr \
    1.27 -		--infodir=/usr/share/info \
    1.28 -		--mandir=/usr/share/man \
    1.29 -		$CONFIGURE_ARGS &&
    1.30 -	make && make DESTDIR=$DESTDIR install	
    1.31 +compile_rules() {
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$DESTDIR install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	case $PACKAGE in
    1.42 -	libgtkimageview)
    1.43 -		DEPENDS="gtk+"
    1.44 -		mkdir -p $fs/usr
    1.45 -		cp -a $install/usr/lib $fs/usr
    1.46 -		# Remove devel files
    1.47 -		cd $fs/usr/lib
    1.48 -		rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
    1.49 -		;;
    1.50 -	libgtkimageview-dev)
    1.51 -		mkdir -p $fs/usr
    1.52 -		cp -a $install/usr/include $fs/usr
    1.53 -		cp -a $install/usr/lib $fs/usr
    1.54 -		# Remove libraries files
    1.55 -		cd $fs/usr/lib
    1.56 -		rm -r *.so*
    1.57 -		;;
    1.58 +		libgtkimageview)
    1.59 +			copy @std
    1.60 +			DEPENDS="gtk+"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			;;
    1.65  	esac
    1.66  }