wok view i3status/receipt @ rev 25421

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