wok annotate libidn/receipt @ rev 15320
ibus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 18:48:47 2013 +0000 (2013-09-27) |
parents | ae1119091e03 |
children | fa583ef36fa9 |
rev | line source |
---|---|
pascal@2133 | 1 # SliTaz package receipt. |
pascal@2133 | 2 |
pascal@2133 | 3 PACKAGE="libidn" |
slaxemulator@10155 | 4 VERSION="1.21" |
pascal@2133 | 5 CATEGORY="system-tools" |
pascal@2133 | 6 SHORT_DESC="Encode and decode internationalized domain names." |
pascal@2133 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15227 | 8 LICENSE="GPL3 LGPL2.1" |
pascal@2133 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2133 | 10 WEB_SITE="http://www.gnu.org/software/$PACKAGE/" |
pascal@2133 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@2133 | 12 |
pascal@2133 | 13 # Rules to configure and make the package. |
pascal@2133 | 14 compile_rules() |
pascal@2133 | 15 { |
pascal@2133 | 16 cd $src |
slaxemulator@10155 | 17 ./configure $CONFIGURE_ARGS && |
pascal@15265 | 18 make $MAKEFLAGS && |
pascal@15227 | 19 make install |
pascal@2133 | 20 } |
pascal@2133 | 21 |
pascal@2133 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2133 | 23 genpkg_rules() |
pascal@2133 | 24 { |
pascal@2133 | 25 mkdir -p $fs/usr/lib |
pascal@15227 | 26 cp -a $install/usr/bin $fs/usr |
pascal@15227 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@2133 | 28 } |
pascal@2133 | 29 |