wok-current annotate pan/receipt @ rev 3213
pan: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 11:47:11 2009 +0200 (2009-05-28) |
parents | 0a3ea4d05d07 |
children | 9aa71590a018 |
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 |
allan316@3206 | 18 ./configure \ |
allan316@3206 | 19 --prefix=/usr \ |
allan316@3206 | 20 --infodir=/usr/share/info \ |
allan316@3206 | 21 --mandir=/usr/share/man \ |
allan316@3206 | 22 $CONFIGURE_ARGS && |
allan316@3206 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@3206 | 24 } |
allan316@3206 | 25 |
allan316@3206 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3206 | 27 genpkg_rules() |
allan316@3206 | 28 { |
allan316@3206 | 29 mkdir -p $fs/usr/share |
allan316@3206 | 30 cp -a $_pkg/usr/bin $fs/usr |
allan316@3206 | 31 cp -a $_pkg/usr/share/applications $fs/usr/share |
allan316@3206 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
allan316@3206 | 33 } |
allan316@3206 | 34 |