# SliTaz package receipt. PACKAGE="pan" VERSION="0.134" CATEGORY="network" SHORT_DESC="pan is a usenet newsreader" MAINTAINER="allan316@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://pan.rebelbase.com" WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL" DEPENDS="pcre gmime gtkspell gtk+ cairo gcc-lib-base glibc-base" BUILD_DEPENDS="intltool gmime-dev" # Rules to configure and make the package. compile_rules() { cd $src # apply debian fix for gcc 4.4.0 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504900 while read file last; do grep -q 'include ' pan/$file || sed -i "s/<$last>/<$last>\n#include /" pan/$file done <