wok-next diff gssdp/receipt @ rev 20559
rrdtool: syntax error
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 17:41:33 2018 +0300 (2018-04-07) |
parents | 8197199493bf |
children | d3444352a0af |
line diff
1.1 --- a/gssdp/receipt Mon Mar 09 11:47:31 2015 +0100 1.2 +++ b/gssdp/receipt Sat Apr 07 17:41:33 2018 +0300 1.3 @@ -1,31 +1,40 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gssdp" 1.8 -VERSION="0.14.7" 1.9 +VERSION="1.0.2" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="Resource discovery and announcement over SSDP." 1.12 +SHORT_DESC="Resource discovery and announcement over SSDP" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="https://wiki.gnome.org/Projects/GUPnP" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 -WEB_SITE="https://wiki.gnome.org/action/show/Projects/GUPnP" 1.19 -WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.21 1.22 -DEPENDS="libsoup" 1.23 -BUILD_DEPENDS="wget pkg-config libsoup-dev sqlite-dev" 1.24 +BUILD_DEPENDS="glib-dev libsoup-dev gtk+3-dev gobject-introspection-dev \ 1.25 +gtk-doc vala" 1.26 +SPLIT="gssdp-bin gssdp gssdp-dev" 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.32 - --mandir=/usr/share/man \ 1.33 - $CONFIGURE_ARGS && 1.34 - make && 1.35 - make DESTDIR=$DESTDIR install 1.36 +compile_rules() { 1.37 + ./configure $CONFIGURE_ARGS && make && make install 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/lib 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 +genpkg_rules() { 1.46 + case $PACKAGE in 1.47 + *-bin) 1.48 + copy bin/ *.ui 1.49 + CAT="network|device sniffer" 1.50 + DEPENDS="atk cairo gdk-pixbuf gssdp gtk+3 pango" 1.51 + ;; 1.52 + gssdp) 1.53 + copy *.so* 1.54 + DEPENDS="glib libsoup" 1.55 + ;; 1.56 + *-dev) 1.57 + copy @dev 1.58 + DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev libsoup-dev \ 1.59 + libxml2-dev pcre-dev sqlite3-dev util-linux-blkid-dev \ 1.60 + util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev" 1.61 + ;; 1.62 + esac 1.63 }