wok-next diff 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
line diff
     1.1 --- a/fbreader/receipt	Sun Oct 29 09:27:29 2017 +0100
     1.2 +++ b/fbreader/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,36 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fbreader"
     1.8  VERSION="0.12.10"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="E-Book Reader. Supports many e-book formats."
    1.11 +SHORT_DESC="E-Book Reader supporting many e-book formats"
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://www.fbreader.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-sources-$VERSION.tgz"
    1.17 -WEB_SITE="http://www.fbreader.org/"
    1.18  WGET_URL="http://www.fbreader.org/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev \
    1.21 -sqlite3-dev gtk+-dev xorg-dev glib-dev gettext intltool"
    1.22 -DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 gtk+"
    1.23 +sqlite3-dev gtk2-dev xorg-dev glib-dev gettext intltool"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 +compile_rules() {
    1.30  	# GCC 4.5.0 fix
    1.31  	sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
    1.32  	echo "UI_TYPE = gtk" >> makefiles/target.mk
    1.33  	echo "TARGET_STATUS = release" >> makefiles/target.mk
    1.34 +
    1.35  	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/lib $fs/usr
    1.45 -	cp -a $install/usr/share $fs/usr
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48 +	DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite3 gtk2"
    1.49  }