wok-next annotate fbreader/receipt @ rev 5654

Add: linux-toshiba (Toshiba module)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 30 00:39:44 2010 +0200 (2010-05-30)
parents
children bd94cca0f444
rev   line source
devl547@5224 1 # SliTaz package receipt.
devl547@5224 2
devl547@5224 3 PACKAGE="fbreader"
devl547@5224 4 VERSION="0.12.10"
devl547@5224 5 CATEGORY="utilities"
devl547@5224 6 SHORT_DESC="E-Book Reader. Supports many e-book formats."
devl547@5224 7 MAINTAINER="devl547@gmail.com"
devl547@5224 8 TARBALL="$PACKAGE-sources-$VERSION.tgz"
devl547@5224 9 WEB_SITE="http://www.fbreader.org/"
devl547@5224 10 WGET_URL="http://www.fbreader.org/$TARBALL"
devl547@5224 11 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev"
devl547@5224 12 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+"
devl547@5224 13
devl547@5224 14 # Rules to configure and make the package.
devl547@5224 15 compile_rules()
devl547@5224 16 {
devl547@5224 17 cd $src
devl547@5224 18 echo "UI_TYPE = gtk" >> makefiles/target.mk
devl547@5224 19 echo "TARGET_STATUS = release" >> makefiles/target.mk
devl547@5224 20 make &&
devl547@5224 21 make DESTDIR=$PWD/_pkg install
devl547@5224 22 }
devl547@5224 23
devl547@5224 24 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5224 25 genpkg_rules()
devl547@5224 26 {
devl547@5224 27 mkdir -p $fs/usr
devl547@5224 28 cp -a $_pkg/usr/bin $fs/usr
devl547@5224 29 cp -a $_pkg/usr/lib $fs/usr
devl547@5224 30 cp -a $_pkg/usr/share $fs/usr
devl547@5224 31 }