wok-stable view centerim/receipt @ rev 7987

Fix patchs for make
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 23:42:01 2011 +0100 (2011-01-17)
parents 39011a13b555
children 01afdb73ff38
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 _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 }