wok-current annotate startup-notification/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 124c3a7da04f |
children | 73f36875e5a7 |
rev | line source |
---|---|
erjo@252 | 1 # SliTaz package receipt. |
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" |
erjo@252 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@252 | 10 WEB_SITE="http://freedesktop.org/software/startup-notification/releases/" |
al@18663 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pankso@16269 | 12 HOST_ARCH="i486 arm" |
pankso@16162 | 13 |
al@18663 | 14 DEPENDS="xcb-util xorg-libSM xorg-libX11" |
pankso@12481 | 15 BUILD_DEPENDS="util-linux-uuid-dev libxcb-dev xcb-util-dev" |
pankso@9792 | 16 |
pascal@24072 | 17 current_version() |
pascal@24072 | 18 { |
pascal@24072 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
erjo@252 | 23 # Rules to configure and make the package. |
erjo@252 | 24 compile_rules() |
erjo@252 | 25 { |
pankso@16269 | 26 export lf_cv_sane_realloc=yes |
pankso@16269 | 27 ./configure \ |
pankso@10390 | 28 --prefix=/usr \ |
pankso@16162 | 29 $CONFIGURE_ARGS && |
pankso@9792 | 30 make && make install |
erjo@252 | 31 } |
erjo@252 | 32 |
erjo@252 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@252 | 34 genpkg_rules() |
erjo@252 | 35 { |
erjo@252 | 36 mkdir -p $fs/usr/lib |
pascal@15004 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@252 | 38 } |