wok-next annotate startup-notification/receipt @ rev 19903
lynx: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 12 18:00:53 2017 +0200 (2017-10-12) |
parents | 66bf4ef9064b |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
erjo@252 | 2 |
erjo@252 | 3 PACKAGE="startup-notification" |
samuel_trassare@11874 | 4 VERSION="0.12" |
pankso@271 | 5 CATEGORY="x-window" |
erjo@252 | 6 SHORT_DESC="Startup notification protocol" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
al@19690 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/startup-notification/" |
pankso@16269 | 10 HOST_ARCH="i486 arm" |
pankso@16162 | 11 |
al@19690 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19690 | 13 WGET_URL="http://www.freedesktop.org/software/startup-notification/releases/$TARBALL" |
al@19690 | 14 |
al@19690 | 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev libxcb-dev xcb-util-dev" |
al@19741 | 16 SPLIT="startup-notification-dev" |
pankso@9792 | 17 |
erjo@252 | 18 # Rules to configure and make the package. |
erjo@252 | 19 compile_rules() |
erjo@252 | 20 { |
pankso@16269 | 21 ./configure \ |
al@19690 | 22 --disable-static \ |
pankso@16162 | 23 $CONFIGURE_ARGS && |
al@19690 | 24 make && make install && |
al@19690 | 25 |
al@19690 | 26 install -v -m644 -D doc/startup-notification.txt \ |
al@19690 | 27 $install/usr/share/doc/startup-notification-$VERSION/startup-notification.txt |
erjo@252 | 28 } |
erjo@252 | 29 |
erjo@252 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@252 | 31 genpkg_rules() |
erjo@252 | 32 { |
al@19741 | 33 case $PACKAGE in |
al@19741 | 34 startup-notification) |
al@19741 | 35 copy @std |
al@19741 | 36 DEPENDS="libxcb xcb-util xorg-libX11" |
al@19741 | 37 ;; |
al@19741 | 38 *-dev) |
al@19741 | 39 copy @dev |
al@19741 | 40 DEPENDS="startup-notification glibc-dev libxcb-dev xcb-util-dev \ |
al@19741 | 41 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" |
al@19741 | 42 ;; |
al@19741 | 43 esac |
erjo@252 | 44 } |