wok annotate centerim/receipt @ rev 12679
centerim: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 15:12:54 2012 +0200 (2012-05-01) |
parents | 0c1f55f3b867 |
children | 380ffe05937a |
rev | line source |
---|---|
allan316@3207 | 1 # SliTaz package receipt. |
allan316@3207 | 2 |
allan316@3207 | 3 PACKAGE="centerim" |
pankso@10686 | 4 VERSION="4.22.10" |
allan316@3207 | 5 CATEGORY="network" |
allan316@3207 | 6 SHORT_DESC="Console mode IM" |
allan316@3207 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3207 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3207 | 9 WEB_SITE="http://www.centerim.org" |
allan316@3207 | 10 WGET_URL="$WEB_SITE/download/releases/$TARBALL" |
jozee@4933 | 11 TAGS="im instant-messenger cli command-line" |
allan316@3207 | 12 |
pankso@10688 | 13 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme" |
pankso@10688 | 14 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \ |
pankso@10688 | 15 gpgme-dev" |
pankso@10688 | 16 |
allan316@3207 | 17 # Rules to configure and make the package. |
allan316@3207 | 18 compile_rules() |
allan316@3207 | 19 { |
allan316@3207 | 20 cd $src |
pascal@12679 | 21 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h |
pascal@9057 | 22 mkdir -p $DESTDIR/usr |
pankso@10688 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@10688 | 24 make && 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 { |
pankso@10686 | 30 mkdir -p $fs/usr/share |
allan316@3207 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@10686 | 32 cp -a $_pkg/usr/share/centerim $fs/usr/share |
allan316@3207 | 33 } |
allan316@3207 | 34 |