wok-6.x view centerim/receipt @ rev 9057

centerim: use $DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:48:11 2011 +0100 (2011-03-04)
parents eb461b4ab9c8
children 120ef4e94221
line source
1 # SliTaz package receipt.
3 PACKAGE="centerim"
4 VERSION="4.22.9"
5 CATEGORY="network"
6 SHORT_DESC="Console mode IM"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="curl libldap openssl libcrypto gpgme ncursesw jpeg gcc-lib-base"
9 BUILD_DEPENDS="ncursesw-dev curl curl-dev libldap openldap-dev openssl openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.centerim.org"
12 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
13 TAGS="im instant-messenger cli command-line"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr
20 ./configure --prefix=$DESTDIR/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/centerim $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $_pkg/usr/share/locale/uk $fs/usr/share/locale
34 }