wok-6.x annotate libiconv/receipt @ rev 2553
rp-pppoe: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 12:23:09 2009 +0000 (2009-03-26) |
parents | 03a799424aaa |
children | 2c679ce49f4c |
rev | line source |
---|---|
domcox@1281 | 1 # SliTaz package receipt. |
domcox@1281 | 2 |
domcox@1281 | 3 PACKAGE="libiconv" |
domcox@1281 | 4 VERSION="1.12" |
pascal@1423 | 5 CATEGORY="misc" |
domcox@1281 | 6 SHORT_DESC="Conversion between Unicode and country dependent character encoding" |
pankso@2045 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1281 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@1281 | 9 WEB_SITE="http://www.gnu.org/software/libiconv" |
domcox@1281 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
domcox@1281 | 11 |
domcox@1281 | 12 # Rules to configure and make the package. |
domcox@1281 | 13 compile_rules() |
domcox@1281 | 14 { |
domcox@1281 | 15 cd $src |
domcox@1281 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
domcox@1281 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
domcox@1281 | 18 make |
domcox@1281 | 19 make DESTDIR=$PWD/_pkg install |
domcox@1281 | 20 } |
domcox@1281 | 21 |
domcox@1281 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1281 | 23 genpkg_rules() |
domcox@1281 | 24 { |
erjo@1385 | 25 mkdir -p $fs/usr/lib |
domcox@1281 | 26 cp -a $_pkg/usr/bin $fs/usr |
erjo@1385 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
domcox@1281 | 28 } |
domcox@1281 | 29 |