wok view fbreader/receipt @ rev 23156

Up nwipe (0.28) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 17:43:47 2020 +0100 (2020-03-15)
parents 9d97bcfbe863
children 544e47246b33
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 # GCC 4.5.0 fix
20 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
22 # CUPS 2.3 fix
23 sed -i '/CURLE_SSL_CACERT:/{NNd}' \
24 zlibrary/core/src/unix/curl/ZLCurlNetworkManager.cpp
26 echo "UI_TYPE = gtk" >> makefiles/target.mk
27 echo "TARGET_STATUS = release" >> makefiles/target.mk
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share $fs/usr
39 }