wok rev 5224
Add fbreader
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Apr 07 12:54:31 2010 +0000 (2010-04-07) |
parents | 35c9f45749e6 |
children | 54e674927b43 |
files | fbreader/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fbreader/receipt Wed Apr 07 12:54:31 2010 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fbreader" 1.7 +VERSION="0.12.10" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="E-Book Reader. Supports many e-book formats." 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +TARBALL="$PACKAGE-sources-$VERSION.tgz" 1.12 +WEB_SITE="http://www.fbreader.org/" 1.13 +WGET_URL="http://www.fbreader.org/$TARBALL" 1.14 +BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev" 1.15 +DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + echo "UI_TYPE = gtk" >> makefiles/target.mk 1.22 + echo "TARGET_STATUS = release" >> makefiles/target.mk 1.23 + make && 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/lib $fs/usr 1.33 + cp -a $_pkg/usr/share $fs/usr 1.34 +}