wok-stable annotate pan/receipt @ rev 4183
xfce4-session, add xfce4-session-logout workarround + remove docs.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 22 22:46:15 2009 +0000 (2009-09-22) |
parents | db989f95819d |
children | f3327707164a |
rev | line source |
---|---|
allan316@3206 | 1 # SliTaz package receipt. |
allan316@3206 | 2 |
allan316@3206 | 3 PACKAGE="pan" |
allan316@3206 | 4 VERSION="0.133" |
allan316@3206 | 5 CATEGORY="network" |
allan316@3206 | 6 SHORT_DESC="pan is a usenet newsreader" |
allan316@3206 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3206 | 8 DEPENDS="pcre gmime gtkspell" |
pascal@3213 | 9 BUILD_DEPENDS="pcre-dev gmime gmime-dev gtkspell-dev" |
allan316@3206 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3206 | 11 WEB_SITE="http://pan.rebelbase.com" |
allan316@3206 | 12 WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL" |
allan316@3206 | 13 |
allan316@3206 | 14 # Rules to configure and make the package. |
allan316@3206 | 15 compile_rules() |
allan316@3206 | 16 { |
allan316@3206 | 17 cd $src |
pascal@3232 | 18 # apply debian fix for gcc 4.4.0 |
pascal@3232 | 19 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504900 |
pascal@3232 | 20 while read file last; do |
pascal@3232 | 21 grep -q 'include <cstdio>' pan/$file || |
pascal@3232 | 22 sed -i "s/<$last>/<$last>\n#include <cstdio>/" pan/$file |
pascal@3232 | 23 done <<EOT |
pascal@3232 | 24 general/log.cc cstdarg |
pascal@3232 | 25 general/progress.cc cstdarg |
pascal@3232 | 26 tasks/nntp.cc cstdarg |
pascal@3232 | 27 tasks/nntp-pool.cc config.h |
pascal@3232 | 28 usenet-utils/numbers.cc cctype |
pascal@3232 | 29 EOT |
allan316@3206 | 30 ./configure \ |
allan316@3206 | 31 --prefix=/usr \ |
allan316@3206 | 32 --infodir=/usr/share/info \ |
allan316@3206 | 33 --mandir=/usr/share/man \ |
allan316@3206 | 34 $CONFIGURE_ARGS && |
allan316@3206 | 35 make && make DESTDIR=$PWD/_pkg install |
allan316@3206 | 36 } |
allan316@3206 | 37 |
allan316@3206 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3206 | 39 genpkg_rules() |
allan316@3206 | 40 { |
allan316@3206 | 41 mkdir -p $fs/usr/share |
allan316@3206 | 42 cp -a $_pkg/usr/bin $fs/usr |
allan316@3206 | 43 cp -a $_pkg/usr/share/applications $fs/usr/share |
allan316@3206 | 44 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
allan316@3206 | 45 } |
allan316@3206 | 46 |