wok-next view fbreader/receipt @ rev 20784

update also: gpgme, libgpg-error and gpa
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 06:52:39 2018 +0000 (2018-06-09)
parents 0e45ab8d23da
children f48456621a9d
line source
1 # SliTaz package receipt.
3 PACKAGE="fbreader"
4 VERSION="0.12.10"
5 CATEGORY="utilities"
6 SHORT_DESC="E-Book Reader. Supports many e-book formats."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-sources-$VERSION.tgz"
10 WEB_SITE="http://www.fbreader.org/"
11 WGET_URL="http://www.fbreader.org/$TARBALL"
13 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev \
14 sqlite3-dev gtk+-dev xorg-dev glib-dev gettext intltool"
15 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 gtk+"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # GCC 4.5.0 fix
22 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
23 echo "UI_TYPE = gtk" >> makefiles/target.mk
24 echo "TARGET_STATUS = release" >> makefiles/target.mk
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share $fs/usr
36 }