wok view gssdp/receipt @ rev 25203

updated python-mechanize (0.4.5 -> 0.4.7)
author Hans-G?nter Theisgen
date Wed Jul 13 14:23:19 2022 +0100 (2022-07-13)
parents 8197199493bf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gssdp"
4 VERSION="0.14.7"
5 CATEGORY="network"
6 SHORT_DESC="Resource discovery and announcement over SSDP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.gnome.org/action/show/Projects/GUPnP"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libsoup"
14 BUILD_DEPENDS="wget pkg-config libsoup-dev sqlite-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }