wok-4.x view fbreader/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
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 }