wok view icu/receipt @ rev 12300
linux: do not create /tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 13:24:39 2012 +0200 (2012-04-16) |
parents | e9a6c865f8a7 |
children | 028c2d8052de |
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR 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 }