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