wok-next view fbreader/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 9d97bcfbe863 |
children | 2809ecb8c754 |
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 sqlite-dev gtk+-dev xorg-dev glib-dev gettext intltool"
15 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite 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 }