wok-6.x view fbreader/receipt @ rev 19372

linux: enable CONFIG_FB_EFI
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 14:31:24 2016 +0200 (2016-08-09)
parents 3b4e4318134e
children f95a7662bc92
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 sqlite-dev gtk+-dev"
14 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # GCC 4.5.0 fix
21 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
22 echo "UI_TYPE = gtk" >> makefiles/target.mk
23 echo "TARGET_STATUS = release" >> makefiles/target.mk
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share $fs/usr
35 }