wok-6.x annotate centerim/receipt @ rev 6228
Up: centerim to 4.22.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 12 00:04:49 2010 +0000 (2010-09-12) |
parents | 39011a13b555 |
children | 01afdb73ff38 |
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 |
allan316@3207 | 19 mkdir -p _pkg/usr |
allan316@3207 | 20 ./configure --prefix=/$PWD/_pkg/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 strip -s $fs/usr/bin/* |
allan316@3207 | 35 } |
allan316@3207 | 36 |