wok-next diff dotconf/receipt @ rev 19890

iptstate, tint2, waterline-plugin-multiload: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 11 15:11:57 2017 +0200 (2017-10-11)
parents d3eb5f4b53ea
children 835b3b8ce6ac
line diff
     1.1 --- a/dotconf/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/dotconf/receipt	Wed Oct 11 15:11:57 2017 +0200
     1.3 @@ -1,33 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="dotconf"
     1.8 -VERSION="1.0.13"
     1.9 +VERSION="1.3"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="Configuration file parser library."
    1.12 +SHORT_DESC="Configuration file parser library"
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="LGPL2.1"
    1.15 +WEB_SITE="https://github.com/williamh/dotconf"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.azzit.de/dotconf/"
    1.19 -WGET_URL="http://www.azzit.de/dotconf/download/v${VERSION%.*}/$TARBALL"
    1.20 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.21  
    1.22 -DEPENDS=""
    1.23 +BUILD_DEPENDS="automake libtool"
    1.24 +SPLIT="dotconf-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--infodir=/usr/share/info \
    1.32 -		--mandir=/usr/share/man \
    1.33 -		$CONFIGURE_ARGS &&
    1.34 -	make && make DESTDIR=$DESTDIR install
    1.35 +	autoreconf -i &&
    1.36 +	./configure $CONFIGURE_ARGS && make && make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 -	cp -a $install/usr/share $fs/usr
    1.46 +	case $PACKAGE in
    1.47 +		dotconf) copy @std ;;
    1.48 +		dotconf-dev) copy @dev ;;
    1.49 +	esac
    1.50  }