wok-next diff liblinebreak/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents 8f447cf2eee5
children 25deb7c6df08
line diff
     1.1 --- a/liblinebreak/receipt	Sat Nov 09 20:47:29 2013 +0000
     1.2 +++ b/liblinebreak/receipt	Tue Mar 13 23:17:56 2018 +0200
     1.3 @@ -1,28 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="liblinebreak"
     1.8 -VERSION="2.0"
     1.9 -CATEGORY="development"
    1.10 +VERSION="2.1"
    1.11 +CATEGORY="libdevel"
    1.12  SHORT_DESC="Line breaking library"
    1.13  MAINTAINER="devl547@gmail.com"
    1.14  LICENSE="zlib/libpng"
    1.15 +WEB_SITE="http://vimgadgets.sourceforge.net/liblinebreak/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://vimgadgets.sourceforge.net/liblinebreak/"
    1.19 -WGET_URL="http://downloads.sourceforge.net/project/vimgadgets/$PACKAGE/$VERSION/$TARBALL"
    1.20 +WGET_URL="$SF_MIRROR/vimgadgets/$PACKAGE/$TARBALL"
    1.21 +
    1.22 +BUILD_DEPENDS="gfortran"
    1.23 +SPLIT="liblinebreak-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.30 -	make &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib
    1.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.40 +	case $PACKAGE in
    1.41 +		liblinebreak) copy @std;;
    1.42 +		*-dev) copy @dev;;
    1.43 +	esac
    1.44  }
    1.45 -