# SliTaz package receipt. PACKAGE="libwnck3" VERSION="3.14.1" CATEGORY="x-window" SHORT_DESC="Window Navigator Construction Kit (GTK+3)" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://www.gnome.org/" WGET_URL="$GNOME_MIRROR/libwnck/${VERSION%.*}/libwnck-$VERSION.tar.xz" DEPENDS="expat gtk+ startup-notification xorg-libICE xorg-libSM xorg-libX11 \ xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" BUILD_DEPENDS="startup-notification-dev gtk+3-dev gobject-introspection-dev \ xcb-util-dev" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed '/libwnck-[0-9]/!d;/tar/!d;s|.*libwnck-\(.*\).tar.*".*|\1|' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lxcb-util" ./configure \ $CONFIGURE_ARGS && make && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib }