wok annotate i3status/receipt @ rev 25667

Up wordpress (6.4.3), xerces-c (3.2.5), ytnet (2.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 12:33:55 2024 +0000 (9 months ago)
parents 453c249b6219
children
rev   line source
pascal@13233 1 # SliTaz package receipt.
pascal@13233 2
pascal@13233 3 PACKAGE="i3status"
Hans-G?nter@24653 4 VERSION="2.14"
pascal@13233 5 CATEGORY="x-window"
Hans-G?nter@24653 6 SHORT_DESC="i3 status bar."
pascal@16048 7 MAINTAINER="ybringler@gmail.com"
pascal@15600 8 LICENSE="BSD"
pascal@20669 9 WEB_SITE="https://i3wm.org/i3status"
Hans-G?nter@24653 10
Hans-G?nter@24653 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@13233 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@15600 13
Hans-G?nter@24653 14 DEPENDS="alsa-lib gcc83-lib-base libnl pulseaudio wireless_tools yajl"
Hans-G?nter@24653 15 BUILD_DEPENDS="alsa-lib-dev asciidoc dev86 gcc83 libconfuse libnl-dev
Hans-G?nter@24653 16 meson pulseaudio-dev wireless_tools-dev xmlto yajl"
pascal@13233 17
pascal@24425 18 # What is the latest version available today?
pascal@24425 19 current_version()
pascal@24425 20 {
pascal@24425 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 23 }
pascal@24425 24
pascal@13233 25 # Rules to configure and make the package.
pascal@13233 26 compile_rules()
pascal@13233 27 {
Hans-G?nter@24653 28 export CC=gcc-83
Hans-G?nter@24653 29 export CXX=g++-83
Hans-G?nter@24653 30
Hans-G?nter@24653 31 meson _build \
Hans-G?nter@24653 32 --prefix=/usr &&
Hans-G?nter@24653 33 ninja -C _build &&
Hans-G?nter@24653 34 ninja -C _build install
pascal@13233 35 }
pascal@13233 36
pascal@13233 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13233 38 genpkg_rules()
pascal@13233 39 {
Hans-G?nter@24653 40 cook_copy_folders bin
Hans-G?nter@24653 41 cook_copy_folders etc
pascal@13233 42 }