wok annotate fbreader/receipt @ rev 10562
openexr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:38:15 2011 +0200 (2011-05-25) |
parents | c10ef884bb76 |
children | 3b4e4318134e |
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" |
devl547@5224 | 8 TARBALL="$PACKAGE-sources-$VERSION.tgz" |
devl547@5224 | 9 WEB_SITE="http://www.fbreader.org/" |
devl547@5224 | 10 WGET_URL="http://www.fbreader.org/$TARBALL" |
devl547@5224 | 11 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev" |
devl547@5224 | 12 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+" |
devl547@5224 | 13 |
devl547@5224 | 14 # Rules to configure and make the package. |
devl547@5224 | 15 compile_rules() |
devl547@5224 | 16 { |
devl547@5224 | 17 cd $src |
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 |
devl547@5224 | 22 make && |
devl547@5224 | 23 make DESTDIR=$PWD/_pkg install |
devl547@5224 | 24 } |
devl547@5224 | 25 |
devl547@5224 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5224 | 27 genpkg_rules() |
devl547@5224 | 28 { |
devl547@5224 | 29 mkdir -p $fs/usr |
devl547@5224 | 30 cp -a $_pkg/usr/bin $fs/usr |
devl547@5224 | 31 cp -a $_pkg/usr/lib $fs/usr |
devl547@5224 | 32 cp -a $_pkg/usr/share $fs/usr |
devl547@5224 | 33 } |