wok annotate centerim/receipt @ rev 9085

centerim: fix prefix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 18:08:04 2011 +0100 (2011-03-04)
parents 01afdb73ff38
children 54ea7d9b6eb8
rev   line source
allan316@3207 1 # SliTaz package receipt.
allan316@3207 2
allan316@3207 3 PACKAGE="centerim"
slaxemulator@6228 4 VERSION="4.22.9"
allan316@3207 5 CATEGORY="network"
allan316@3207 6 SHORT_DESC="Console mode IM"
allan316@3207 7 MAINTAINER="allan316@gmail.com"
pascal@4999 8 DEPENDS="curl libldap openssl libcrypto gpgme ncursesw jpeg gcc-lib-base"
slaxemulator@6228 9 BUILD_DEPENDS="ncursesw-dev curl curl-dev libldap openldap-dev openssl openssl-dev"
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"
jozee@4933 13 TAGS="im instant-messenger cli command-line"
allan316@3207 14
allan316@3207 15 # Rules to configure and make the package.
allan316@3207 16 compile_rules()
allan316@3207 17 {
allan316@3207 18 cd $src
pascal@9057 19 mkdir -p $DESTDIR/usr
pascal@9085 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4999 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@4999 22 make &&
allan316@3207 23 make install
allan316@3207 24 }
allan316@3207 25
allan316@3207 26 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3207 27 genpkg_rules()
allan316@3207 28 {
allan316@3207 29 mkdir -p $fs/usr/share/locale
allan316@3207 30 cp -a $_pkg/usr/bin $fs/usr
allan316@3207 31 cp -a $_pkg/usr/share/centerim $fs/usr/share
allan316@3207 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
allan316@3207 33 cp -a $_pkg/usr/share/locale/uk $fs/usr/share/locale
allan316@3207 34 }
allan316@3207 35