wok-current annotate libwnck/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | fb22330086d8 |
children |
rev | line source |
---|---|
pankso@1275 | 1 # SliTaz package receipt. |
pankso@1275 | 2 |
pankso@1275 | 3 PACKAGE="libwnck" |
Hans-G?nter@21337 | 4 VERSION="2.31.0" |
pankso@1275 | 5 CATEGORY="x-window" |
Hans-G?nter@21337 | 6 SHORT_DESC="A Window Navigator Construction Kit." |
pankso@1275 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pascal@24894 | 9 WEB_SITE="https://gitlab.gnome.org/GNOME/libwnck" |
Hans-G?nter@21337 | 10 |
Hans-G?nter@21337 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@14718 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@14718 | 13 |
pascal@2476 | 14 DEPENDS="expat gtk+ startup-notification xorg-libICE xorg-libSM xorg-libX11 \ |
Hans-G?nter@21337 | 15 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
Hans-G?nter@21337 | 16 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" |
Hans-G?nter@21337 | 17 BUILD_DEPENDS="gettext gobject-introspection-dev gtk+-dev intltool \ |
Hans-G?nter@21337 | 18 perl-xml-parser pkg-config xorg-dev" |
pankso@1275 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \ |
pascal@24384 | 23 sed '/href="[0-9]/!d;/\./!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24072 | 24 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q |
pascal@24072 | 25 } |
pascal@24072 | 26 |
pankso@1275 | 27 # Rules to configure and make the package. |
pankso@1275 | 28 compile_rules() |
pankso@1275 | 29 { |
pankso@1275 | 30 ./configure \ |
pascal@1465 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21337 | 32 make -j 1 && |
slaxemulator@12335 | 33 make DESTDIR=$DESTDIR install |
pankso@1275 | 34 } |
pankso@1275 | 35 |
pankso@1275 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1275 | 37 genpkg_rules() |
pankso@1275 | 38 { |
pankso@1275 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@21337 | 40 |
Hans-G?nter@21337 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21337 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21337 | 43 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@1275 | 44 } |