wok diff epdfview-cups/receipt @ rev 2337
Add alpine
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 01 12:04:20 2009 +0000 (2009-03-01) |
parents | |
children | b29c37d68a86 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/epdfview-cups/receipt Sun Mar 01 12:04:20 2009 +0000 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="epdfview-cups" 1.7 +VERSION="0.1.6" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ poppler cups" 1.12 +BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev" 1.13 +SOURCE="epdfview" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://trac.emma-soft.com/epdfview/" 1.16 +WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL" 1.17 +PROVIDE="epdfview:cups" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --infodir=/usr/share/info \ 1.26 + --mandir=/usr/share/man \ 1.27 + --with-cups \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/share/pixmaps 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/share/epdfview $fs/usr/share 1.39 + cd $fs/usr/share/pixmaps 1.40 + rm ../epdfview/pixmaps/icon_epdfview-24.png 1.41 + rm ../epdfview/pixmaps/icon_epdfview-48.png 1.42 + ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png 1.43 +} 1.44 + 1.45 +# Pre install commands for Tazpkg. 1.46 +pre_install() 1.47 +{ 1.48 + [ -x $1/usr/bin/epdfview ] && yes y | tazpkg remove epdfview 1.49 +}