wok-next diff iso-codes/receipt @ rev 20936

Update cmake
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 24 15:44:57 2018 +0300 (2018-08-24)
parents 1ca369c9f448
children f48456621a9d
line diff
     1.1 --- a/iso-codes/receipt	Thu May 17 01:08:40 2018 +0300
     1.2 +++ b/iso-codes/receipt	Fri Aug 24 15:44:57 2018 +0300
     1.3 @@ -1,25 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iso-codes"
     1.8 -VERSION="3.77"
     1.9 +VERSION="3.79"
    1.10  CATEGORY="utilities"
    1.11  SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists + translations"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://pkg-isocodes.alioth.debian.org/"
    1.15 +WEB_SITE="https://salsa.debian.org/debian/iso-codes"
    1.16  LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/iso-codes.html"
    1.17  
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 -WGET_URL="https://pkg-isocodes.alioth.debian.org/downloads/$TARBALL"
    1.20 +TARBALL="$PACKAGE-upstream-$VERSION.tar.bz2"
    1.21 +WGET_URL="https://salsa.debian.org/debian/iso-codes/-/archive/upstream/$VERSION/$TARBALL"
    1.22  
    1.23  BUILD_DEPENDS="gettext python3"
    1.24 +SPLIT="iso-codes-dev"
    1.25  
    1.26  compile_rules() {
    1.27  	./configure $CONFIGURE_ARGS &&
    1.28  	make &&
    1.29 -	make DESTDIR=$DESTDIR install
    1.30 +	make install
    1.31  }
    1.32  
    1.33  genpkg_rules() {
    1.34 -	copy @std *.mo
    1.35 +	case $PACKAGE in
    1.36 +		iso-codes)
    1.37 +			copy @std *.mo
    1.38 +			;;
    1.39 +		*-dev)
    1.40 +			copy @dev
    1.41 +			;;
    1.42 +	esac
    1.43  }