wok view libwnck/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 5d79829fa876 |
children | 870e1ce31226 |
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://developer.gnome.org/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 current_version()
21 {
22 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
23 sed '/href="[0-9]/!d;/\./!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
44 }