wok-4.x annotate centerim/receipt @ rev 10685
rt-source-patch: fix WGET_URL and make it build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 16:50:11 2011 +0200 (2011-05-27) |
parents | 120ef4e94221 |
children | 5462e7cc00e8 |
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" |
pascal@10613 | 9 BUILD_DEPENDS="ncursesw-dev curl curl-dev libldap openldap-dev openssl \ |
pascal@10613 | 10 openssl-devi gpgme-dev ncursesw-dev" |
allan316@3207 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3207 | 12 WEB_SITE="http://www.centerim.org" |
allan316@3207 | 13 WGET_URL="$WEB_SITE/download/releases/$TARBALL" |
jozee@4933 | 14 TAGS="im instant-messenger cli command-line" |
allan316@3207 | 15 |
allan316@3207 | 16 # Rules to configure and make the package. |
allan316@3207 | 17 compile_rules() |
allan316@3207 | 18 { |
allan316@3207 | 19 cd $src |
pascal@9057 | 20 mkdir -p $DESTDIR/usr |
pascal@9085 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4999 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@4999 | 23 make && |
allan316@3207 | 24 make install |
allan316@3207 | 25 } |
allan316@3207 | 26 |
allan316@3207 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3207 | 28 genpkg_rules() |
allan316@3207 | 29 { |
allan316@3207 | 30 mkdir -p $fs/usr/share/locale |
allan316@3207 | 31 cp -a $_pkg/usr/bin $fs/usr |
allan316@3207 | 32 cp -a $_pkg/usr/share/centerim $fs/usr/share |
allan316@3207 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
allan316@3207 | 34 cp -a $_pkg/usr/share/locale/uk $fs/usr/share/locale |
allan316@3207 | 35 } |
allan316@3207 | 36 |