wok-current view fbreader/receipt @ rev 15151

Up liblognorm (0.3.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 13:50:02 2013 +0000 (2013-08-15)
parents c10ef884bb76
children 3b4e4318134e
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 TARBALL="$PACKAGE-sources-$VERSION.tgz"
9 WEB_SITE="http://www.fbreader.org/"
10 WGET_URL="http://www.fbreader.org/$TARBALL"
11 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev"
12 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # GCC 4.5.0 fix
19 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
20 echo "UI_TYPE = gtk" >> makefiles/target.mk
21 echo "TARGET_STATUS = release" >> makefiles/target.mk
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }