wok-next diff libidn/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | f463de72afe3 |
children | 25deb7c6df08 |
line diff
1.1 --- a/libidn/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/libidn/receipt Tue Mar 27 12:50:45 2018 +0200 1.3 @@ -1,30 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libidn" 1.8 VERSION="1.33" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Encode and decode internationalized domain names." 1.11 +SHORT_DESC="Encode and decode internationalized domain names" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL3 LGPL2.1" 1.14 WEB_SITE="https://www.gnu.org/software/libidn/" 1.15 -HOST_ARCH="i486 arm" 1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libidn.html" 1.17 1.18 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 BUILD_DEPENDS="gettext" 1.22 +SPLIT="libidn-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 ./configure \ 1.29 --disable-static \ 1.30 $CONFIGURE_ARGS && 1.31 make $MAKEFLAGS && make install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 - copy idn *.so* 1.38 +genpkg_rules() { 1.39 + case $PACKAGE in 1.40 + libidn) copy @std;; 1.41 + *-dev) copy @dev;; 1.42 + esac 1.43 }