wok-next view fbreader/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 0e45ab8d23da
children f48456621a9d
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 sqlite3-dev gtk+-dev xorg-dev glib-dev gettext intltool"
15 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 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 }