wok view xosd/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 86790a278e70
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="xosd"
4 VERSION="2.2.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Light on screen display tool."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/libxosd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/libxosd/$TARBALL"
14 DEPENDS="xorg-libX11"
15 BUILD_DEPENDS="xorg-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/libxosd/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS 2>&1 | grep -v './configure' &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files osd_cat *.so* *.png
35 }