wok-6.x view icu/receipt @ rev 9320

superswitcher: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 09:52:56 2011 +0100 (2011-03-18)
parents 37e45ecc368d
children e9a6c865f8a7
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="icu4c"
9 TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
10 WEB_SITE="http://www.icu-project.org/"
11 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
12 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/source
18 sed -i 's/dirname -- /dirname/' configure
19 ./configure \
20 --disable-tests \
21 --disable-samples &&
22 make &&
23 make DESTDIR=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }