wok-6.x annotate libgtop/receipt @ rev 11607

jssame: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 20 17:36:43 2012 +0100 (2012-01-20)
parents 0f920dfd9022
children 313856cc2188
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libgtop"
pascal@11205 4 VERSION="2.28.4"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="Librairies for GNOME"
pascal@11205 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11205 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@11205 9 WEB_SITE="http://www.gnome.org"
pascal@11205 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
gokhlayeh@11481 11 DEPENDS="glib"
gokhlayeh@11481 12 BUILD_DEPENDS="intltool"
pascal@11205 13
pascal@11205 14 # Rules to configure and make the package.
pascal@11205 15 compile_rules()
pascal@11205 16 {
pascal@11205 17 cd $src
pascal@11205 18 ./configure \
pascal@11205 19 --prefix=/usr \
pascal@11205 20 $CONFIGURE_ARGS &&
pascal@11205 21 make && make install
pascal@11205 22 }
pascal@11205 23
pascal@11205 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 25 genpkg_rules()
pascal@11205 26 {
pascal@11205 27 mkdir -p $fs/usr/lib
pascal@11205 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11205 29 }