wok-6.x annotate startup-notification/receipt @ rev 10390

startup-notification: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:38:20 2011 +0200 (2011-05-23)
parents 4a7127b73f18
children 64ba4a9312ad
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"
erjo@252 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@252 9 WEB_SITE="http://freedesktop.org/software/startup-notification/releases/"
erjo@252 10 WGET_URL="http://freedesktop.org/software/startup-notification/releases/$TARBALL"
pankso@10390 11 CROSS="error: cannot run test program while cross compiling"
erjo@252 12
pankso@9792 13 DEPENDS="util-linux-ng-uuid libxcb xcb-util xorg-libICE xorg-libSM xorg-libX11 \
pankso@9792 14 xorg-libXau xorg-libXdmcp"
pankso@9792 15 BUILD_DEPENDS="util-linux-ng-uuid-dev libxcb-dev xcb-util-dev"
pankso@9792 16
erjo@252 17 # Rules to configure and make the package.
erjo@252 18 compile_rules()
erjo@252 19 {
erjo@252 20 cd $src
pankso@10390 21 ./configure -C \
pankso@10390 22 --prefix=/usr \
pankso@10390 23 --build=$HOST_SYSTEM \
pankso@10390 24 --host=$HOST_SYSTEM &&
pankso@9792 25 make && make install
erjo@252 26 }
erjo@252 27
erjo@252 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@252 29 genpkg_rules()
erjo@252 30 {
erjo@252 31 mkdir -p $fs/usr/lib
erjo@252 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@252 33 }
erjo@252 34