wok-current view libwnck/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (7 weeks ago)
parents 870e1ce31226
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libwnck"
4 VERSION="2.31.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A Window Navigator Construction Kit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://gitlab.gnome.org/GNOME/libwnck"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="expat gtk+ startup-notification xorg-libICE xorg-libSM xorg-libX11 \
15 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
16 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage"
17 BUILD_DEPENDS="gettext gobject-introspection-dev gtk+-dev intltool \
18 perl-xml-parser pkg-config xorg-dev"
20 HOST_ARCH="i486 x86_64"
22 current_version()
23 {
24 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
25 sed '/href="[0-9]/!d;/\./!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
46 }