wok-current annotate pan/receipt @ rev 3206
add pan newsreader
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 11:54:28 2009 +0000 (2009-05-28) |
parents | |
children | db989f95819d |
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" |
allan316@3206 | 9 BUILD_DEPENDS="pcre-dev 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 |