wok-next annotate startup-notification/receipt @ rev 5800
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:18:18 2010 +0200 (2010-07-11) |
parents | 0588160a6878 |
children | 4a193c62c501 |
rev | line source |
---|---|
erjo@252 | 1 # SliTaz package receipt. |
erjo@252 | 2 |
erjo@252 | 3 PACKAGE="startup-notification" |
mallory@3309 | 4 VERSION="0.10" |
pankso@271 | 5 CATEGORY="x-window" |
erjo@252 | 6 SHORT_DESC="Startup notification protocol" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pankso@4052 | 8 DEPENDS="glibc-base util-linux-ng-uuid libxcb xcb-util xorg-libICE xorg-libSM \ |
rcx@3723 | 9 xorg-libX11 xorg-libXau xorg-libXdmcp" |
pankso@5705 | 10 BUILD_DEPENDS="xorg-dev util-linux-ng-uuid-dev" |
erjo@252 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@252 | 12 WEB_SITE="http://freedesktop.org/software/startup-notification/releases/" |
erjo@252 | 13 WGET_URL="http://freedesktop.org/software/startup-notification/releases/$TARBALL" |
erjo@252 | 14 |
erjo@252 | 15 # Rules to configure and make the package. |
erjo@252 | 16 compile_rules() |
erjo@252 | 17 { |
erjo@252 | 18 cd $src |
pascal@1511 | 19 ./configure -C --prefix=/usr $CONFIGURE_ARGS && |
pascal@1511 | 20 make && |
erjo@252 | 21 make DESTDIR=$PWD/_pkg install |
erjo@252 | 22 } |
erjo@252 | 23 |
erjo@252 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@252 | 25 genpkg_rules() |
erjo@252 | 26 { |
erjo@252 | 27 mkdir -p $fs/usr/lib |
erjo@252 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@252 | 29 strip -s $fs/usr/lib/*.so* |
erjo@252 | 30 } |
erjo@252 | 31 |