wok-next annotate fbreader/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 2809ecb8c754 |
children | d5aab818505e |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
devl547@5224 | 2 |
devl547@5224 | 3 PACKAGE="fbreader" |
devl547@5224 | 4 VERSION="0.12.10" |
devl547@5224 | 5 CATEGORY="utilities" |
al@21017 | 6 SHORT_DESC="E-Book Reader supporting many e-book formats" |
devl547@5224 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15594 | 8 LICENSE="GPL3" |
al@21017 | 9 WEB_SITE="http://www.fbreader.org/" |
al@21017 | 10 |
devl547@5224 | 11 TARBALL="$PACKAGE-sources-$VERSION.tgz" |
devl547@5224 | 12 WGET_URL="http://www.fbreader.org/$TARBALL" |
pascal@15593 | 13 |
psychomaniak@19894 | 14 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev \ |
al@21017 | 15 sqlite3-dev gtk2-dev xorg-dev glib-dev gettext intltool" |
devl547@5224 | 16 |
al@21017 | 17 compile_rules() { |
pascal@5907 | 18 # GCC 4.5.0 fix |
pascal@5907 | 19 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp |
devl547@5224 | 20 echo "UI_TYPE = gtk" >> makefiles/target.mk |
devl547@5224 | 21 echo "TARGET_STATUS = release" >> makefiles/target.mk |
al@21017 | 22 |
devl547@5224 | 23 make && |
pascal@15593 | 24 make DESTDIR=$DESTDIR install |
devl547@5224 | 25 } |
devl547@5224 | 26 |
al@21017 | 27 genpkg_rules() { |
al@21017 | 28 copy @std |
al@21017 | 29 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 gtk2" |
devl547@5224 | 30 } |