wok-4.x view fbreader/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | c10ef884bb76 |
children |
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 TARBALL="$PACKAGE-sources-$VERSION.tgz"
9 WEB_SITE="http://www.fbreader.org/"
10 WGET_URL="http://www.fbreader.org/$TARBALL"
11 BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev"
12 DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # GCC 4.5.0 fix
19 sed -i 's/Library::Library /Library /' fbreader/src/library/Library.cpp
20 echo "UI_TYPE = gtk" >> makefiles/target.mk
21 echo "TARGET_STATUS = release" >> makefiles/target.mk
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }