wok view fbreader/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | f95a7662bc92 |
children | c15fedfb9582 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/geometer/FBReader/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # GCC 4.5.0 fix
27 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
29 # CUPS 2.3 fix
30 sed -i '/CURLE_SSL_CACERT:/{NNd}' \
31 zlibrary/core/src/unix/curl/ZLCurlNetworkManager.cpp
33 echo "UI_TYPE = gtk" >> makefiles/target.mk
34 echo "TARGET_STATUS = release" >> makefiles/target.mk
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share $fs/usr
46 }