wok-4.x view pan/receipt @ rev 12477
Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Apr 02 14:34:44 2023 +0000 (19 months ago) |
parents | 57749b8f1c3c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pan"
4 VERSION="0.134"
5 CATEGORY="network"
6 SHORT_DESC="pan is a usenet newsreader"
7 MAINTAINER="allan316@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pan.rebelbase.com"
10 WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL"
12 DEPENDS="pcre gmime gtkspell gtk+ cairo gcc-lib-base glibc-base"
13 BUILD_DEPENDS="intltool gmime-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # apply debian fix for gcc 4.4.0
20 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504900
21 while read file last; do
22 grep -q 'include <cstdio>' pan/$file ||
23 sed -i "s/<$last>/<$last>\n#include <cstdio>/" pan/$file
24 done <<EOT
25 general/log.cc cstdarg
26 general/progress.cc cstdarg
27 tasks/nntp.cc cstdarg
28 tasks/nntp-pool.cc config.h
29 usenet-utils/numbers.cc cctype
30 EOT
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/share/applications $fs/usr/share
43 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
44 }