wok view xosd/receipt @ rev 25511

memtest: 386 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 17:17:56 2023 +0000 (21 months ago)
parents ad0bc3efbf37
children 29df00e1e19d
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/libxosd/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v './configure' &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files osd_cat *.so* *.png
36 }