wok-next view centerim/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents f7e96b8e3444
children eb461b4ab9c8
line source
1 # SliTaz package receipt.
3 PACKAGE="centerim"
4 VERSION="4.22.5"
5 CATEGORY="network"
6 SHORT_DESC="Console mode IM"
7 MAINTAINER="allan316@gmail.com"
8 BUILD_DEPENDS="curl curl-dev libldap openldap-dev openssl openssl-dev"
9 DEPENDS="curl libldap openssl libcrypto gpgme ncursesw jpeg gcc-lib-base"
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 _pkg/usr
20 ./configure --prefix=/$PWD/_pkg/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 strip -s $fs/usr/bin/*
35 }