wok-stable annotate libwnck/receipt @ rev 5982
nut: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:34:30 2010 +0200 (2010-08-13) |
parents | 59228667f806 |
children | a4cdfdba3408 |
rev | line source |
---|---|
pankso@1275 | 1 # SliTaz package receipt. |
pankso@1275 | 2 |
pankso@1275 | 3 PACKAGE="libwnck" |
pankso@1275 | 4 VERSION="2.22.3" |
pankso@1275 | 5 CATEGORY="x-window" |
pankso@1275 | 6 SHORT_DESC="libwnck is Window Navigator Construction Kit." |
pankso@1275 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2476 | 8 DEPENDS="expat gtk+ startup-notification xorg-libICE xorg-libSM xorg-libX11 \ |
pascal@2476 | 9 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
pascal@2518 | 10 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" |
pascal@1514 | 11 BUILD_DEPENDS="perl-xml-parser gettext xorg-dev" |
pankso@1275 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1275 | 13 WEB_SITE="http://ftp.acc.umu.se/pub/gnome/sources/libwnck/" |
pankso@1275 | 14 WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/libwnck/2.22/$TARBALL" |
pankso@1275 | 15 |
pankso@1275 | 16 # Rules to configure and make the package. |
pankso@1275 | 17 compile_rules() |
pankso@1275 | 18 { |
pankso@1275 | 19 cd $src |
pankso@1275 | 20 ./configure \ |
pankso@1275 | 21 --prefix=/usr \ |
pankso@1275 | 22 --infodir=/usr/share/info \ |
pankso@1275 | 23 --mandir=/usr/share/man \ |
pascal@1465 | 24 $CONFIGURE_ARGS && |
pascal@1465 | 25 make && |
pankso@1275 | 26 make DESTDIR=$PWD/_pkg install |
pankso@1275 | 27 } |
pankso@1275 | 28 |
pankso@1275 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1275 | 30 genpkg_rules() |
pankso@1275 | 31 { |
pankso@1275 | 32 mkdir -p $fs/usr/lib |
pankso@1275 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@1275 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1275 | 35 } |