wok annotate centerim/receipt @ rev 3629

fix depends in centerim
author Allan Pinto <allan316@gmail.com>
date Thu Jul 02 14:16:37 2009 +0000 (2009-07-02)
parents 442c81c9dad8
children f7e96b8e3444
rev   line source
allan316@3207 1 # SliTaz package receipt.
allan316@3207 2
allan316@3207 3 PACKAGE="centerim"
allan316@3207 4 VERSION="4.22.5"
allan316@3207 5 CATEGORY="network"
allan316@3207 6 SHORT_DESC="Console mode IM"
allan316@3207 7 MAINTAINER="allan316@gmail.com"
allan316@3207 8 BUILD_DEPENDS="curl curl-dev libldap openldap-dev openssl openssl-dev"
allan316@3629 9 DEPENDS="curl libldap openssl libcrypto gpgme"
allan316@3207 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3207 11 WEB_SITE="http://www.centerim.org"
allan316@3207 12 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
allan316@3207 13
allan316@3207 14 # Rules to configure and make the package.
allan316@3207 15 compile_rules()
allan316@3207 16 {
allan316@3207 17 cd $src
allan316@3207 18 mkdir -p _pkg/usr
allan316@3207 19 ./configure --prefix=/$PWD/_pkg/usr --infodir=/usr/share/info \
allan316@3207 20 --mandir=/usr/share/man $CONFIGURE_ARGS
allan316@3207 21 make
allan316@3207 22 make install
allan316@3207 23 }
allan316@3207 24
allan316@3207 25 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3207 26 genpkg_rules()
allan316@3207 27 {
allan316@3207 28 mkdir -p $fs/usr/share/locale
allan316@3207 29 cp -a $_pkg/usr/bin $fs/usr
allan316@3207 30 cp -a $_pkg/usr/share/centerim $fs/usr/share
allan316@3207 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
allan316@3207 32 cp -a $_pkg/usr/share/locale/uk $fs/usr/share/locale
allan316@3207 33 strip -s $fs/usr/bin/*
allan316@3207 34 }
allan316@3207 35