wok annotate xosd/receipt @ rev 25448

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