wok-next annotate centerim/receipt @ rev 5969
Add: unrar 0.0.1
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Fri Aug 06 19:23:43 2010 +0200 (2010-08-06) |
parents | f7e96b8e3444 |
children | eb461b4ab9c8 |
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" |
pascal@4999 | 9 DEPENDS="curl libldap openssl libcrypto gpgme ncursesw jpeg gcc-lib-base" |
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 |