wok view libwnck3/receipt @ rev 24715

updated lfs-book (8.4 -> 11.1)
author Hans-G?nter Theisgen
date Tue Mar 15 06:57:03 2022 +0100 (2022-03-15)
parents 0dd833f88cc4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libwnck3"
4 VERSION="3.14.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Window Navigator Construction Kit (GTK+3)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/libwnck/${VERSION%.*}/libwnck-$VERSION.tar.xz"
13 DEPENDS="expat gtk+ startup-notification xorg-libICE xorg-libSM xorg-libX11 \
14 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
15 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage"
16 BUILD_DEPENDS="startup-notification-dev gtk+3-dev gobject-introspection-dev \
17 xcb-util-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/libwnck-[0-9]/!d;/tar/!d;s|.*libwnck-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -lxcb-util"
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
42 }