wok-next annotate conky/receipt @ rev 8776
Up: tazwok (4.0) - New function, improvement and use each time a clean chroot to build package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 13:00:23 2011 +0100 (2011-02-22) |
parents | 46ac0c9b6b7c |
children | d8ff3547600c |
rev | line source |
---|---|
pankso@1017 | 1 # SliTaz package receipt. |
pankso@1017 | 2 |
pankso@1017 | 3 PACKAGE="conky" |
slaxemulator@6562 | 4 VERSION="1.8.1" |
pankso@1017 | 5 CATEGORY="system-tools" |
pankso@1017 | 6 SHORT_DESC="Simple and very light system monitor." |
pankso@1017 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2489 | 8 DEPENDS="expat fontconfig freetype glib xorg-libX11 xorg-libXau \ |
pascal@2489 | 9 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
slaxemulator@6562 | 10 xorg-libXft xorg-libXrender zlib ncursesw" |
slaxemulator@6562 | 11 BUILD_DEPENDS="$DEPENDS xorg-dev xorg-libXdamage-dev xorg-libXft-dev fontconfig-dev expat-dev glib glib-dev pkg-config zlib-dev freetype-dev xorg-xextproto xorg-damageproto xorg-fixesproto ncursesw-dev" |
pankso@1017 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1017 | 13 WEB_SITE="http://conky.sourceforge.net/" |
pankso@1017 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4933 | 15 TAGS="desktop monitoring" |
pankso@1017 | 16 |
pankso@1017 | 17 # Rules to configure and make the package. |
pankso@1017 | 18 compile_rules() |
pankso@1017 | 19 { |
pankso@1017 | 20 cd $src |
pankso@1017 | 21 ./configure \ |
pankso@1017 | 22 --prefix=/usr \ |
pankso@1017 | 23 --sysconfdir=/etc \ |
pankso@1017 | 24 --mandir=/usr/share/man \ |
slaxemulator@5356 | 25 --disable-lua \ |
pascal@1477 | 26 $CONFIGURE_ARGS && |
pascal@1477 | 27 make && |
pankso@1017 | 28 make DESTDIR=$PWD/_pkg install |
pankso@1017 | 29 } |
pankso@1017 | 30 |
pankso@1017 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1017 | 32 genpkg_rules() |
pankso@1017 | 33 { |
pankso@1017 | 34 mkdir -p $fs/usr $fs/etc/conky |
pankso@1017 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@1017 | 36 cp -a stuff/conky.conf $fs/etc/conky |
pankso@1017 | 37 } |