wok-stable view icu/receipt @ rev 5445
dahdi-linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 11:23:16 2010 +0200 (2010-05-05) |
parents | 7d71309e1247 |
children | c161b9c835d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4c-4_2_1"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="icu${VERSION}-src.tgz"
9 WEB_SITE="http://www.icu-project.org/"
10 WGET_URL="http://download.icu-project.org/files/icu4c/4.2.1/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mv icu icu-$VERSION && cd $src/source
16 sed -i 's/dirname -- /dirname/' configure
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --disable-tests \
21 --disable-samples \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$WOK/$PACKAGE/icu-$VERSION/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }