wok-stable view cairo-clock/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 5576a54b083f
children f6174e5515c7
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-clock"
4 VERSION="0.3.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Nice analog clock displaying the system-time."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
9 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://macslow.thepimp.net/?page_id=23"
12 WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/$PACKAGE/themes
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE/glade \
31 $fs/usr/share/$PACKAGE
32 cp -a $_pkg/usr/share/$PACKAGE/themes/default \
33 $fs/usr/share/$PACKAGE/themes
34 }