wok-next annotate fbreader/receipt @ rev 20446
pixman is obsolete -> xorg-pixman
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 13:29:20 2018 +0200 (2018-02-28) |
parents | 0e45ab8d23da |
children | f48456621a9d |
rev | line source |
---|---|
devl547@5224 | 1 # SliTaz package receipt. |
devl547@5224 | 2 |
devl547@5224 | 3 PACKAGE="fbreader" |
devl547@5224 | 4 VERSION="0.12.10" |
devl547@5224 | 5 CATEGORY="utilities" |
devl547@5224 | 6 SHORT_DESC="E-Book Reader. Supports many e-book formats." |
devl547@5224 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15594 | 8 LICENSE="GPL3" |
devl547@5224 | 9 TARBALL="$PACKAGE-sources-$VERSION.tgz" |
devl547@5224 | 10 WEB_SITE="http://www.fbreader.org/" |
devl547@5224 | 11 WGET_URL="http://www.fbreader.org/$TARBALL" |
pascal@15593 | 12 |
psychomaniak@19894 | 13 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev \ |
pascal@20098 | 14 sqlite3-dev gtk+-dev xorg-dev glib-dev gettext intltool" |
pascal@20098 | 15 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 gtk+" |
devl547@5224 | 16 |
devl547@5224 | 17 # Rules to configure and make the package. |
devl547@5224 | 18 compile_rules() |
devl547@5224 | 19 { |
devl547@5224 | 20 cd $src |
pascal@5907 | 21 # GCC 4.5.0 fix |
pascal@5907 | 22 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp |
devl547@5224 | 23 echo "UI_TYPE = gtk" >> makefiles/target.mk |
devl547@5224 | 24 echo "TARGET_STATUS = release" >> makefiles/target.mk |
devl547@5224 | 25 make && |
pascal@15593 | 26 make DESTDIR=$DESTDIR install |
devl547@5224 | 27 } |
devl547@5224 | 28 |
devl547@5224 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5224 | 30 genpkg_rules() |
devl547@5224 | 31 { |
devl547@5224 | 32 mkdir -p $fs/usr |
pascal@15593 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15593 | 34 cp -a $install/usr/lib $fs/usr |
pascal@15593 | 35 cp -a $install/usr/share $fs/usr |
devl547@5224 | 36 } |