wok-next annotate libiconv/receipt @ rev 1341
Up: clamav (0.94) + deps
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Sep 02 21:14:20 2008 +0000 (2008-09-02) |
parents | |
children | dcdc90b45f95 |
rev | line source |
---|---|
domcox@1281 | 1 # SliTaz package receipt. |
domcox@1281 | 2 |
domcox@1281 | 3 PACKAGE="libiconv" |
domcox@1281 | 4 VERSION="1.12" |
domcox@1281 | 5 CATEGORY="library" |
domcox@1281 | 6 SHORT_DESC="Conversion between Unicode and country dependent character encoding" |
domcox@1281 | 7 MAINTAINER="domcox@users.soureforge.net" |
domcox@1281 | 8 DEPENDS="" |
domcox@1281 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@1281 | 10 WEB_SITE="http://www.gnu.org/software/libiconv" |
domcox@1281 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
domcox@1281 | 12 |
domcox@1281 | 13 # Rules to configure and make the package. |
domcox@1281 | 14 compile_rules() |
domcox@1281 | 15 { |
domcox@1281 | 16 cd $src |
domcox@1281 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
domcox@1281 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
domcox@1281 | 19 make |
domcox@1281 | 20 make DESTDIR=$PWD/_pkg install |
domcox@1281 | 21 } |
domcox@1281 | 22 |
domcox@1281 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1281 | 24 genpkg_rules() |
domcox@1281 | 25 { |
domcox@1281 | 26 mkdir -p $fs/usr |
domcox@1281 | 27 cp -a $_pkg/usr/bin $fs/usr |
domcox@1281 | 28 strip -s $fs/usr/bin/* |
domcox@1281 | 29 cp -a $_pkg/usr/include $fs/usr |
domcox@1281 | 30 cp -a $_pkg/usr/lib $fs/usr |
domcox@1281 | 31 } |
domcox@1281 | 32 |