wok rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (5 months ago) |
parents | b2c66a389e93 |
children | 5f72b8a05c9a |
files | xmenu/description.txt xmenu/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xmenu/description.txt Thu Dec 19 16:09:37 2024 +0100 1.3 @@ -0,0 +1,5 @@ 1.4 +XMenu is a menu utility for X. 1.5 +XMenu receives a menu specification in stdin, 1.6 +shows a menu for the user to select one of the options, 1.7 +and outputs the option selected to stdout. 1.8 +XMenu can be controlled both via mouse and via keyboard.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xmenu/receipt Thu Dec 19 16:09:37 2024 +0100 2.3 @@ -0,0 +1,38 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="xmenu" 2.7 +VERSION="4.6.1" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="A menu utility for X." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="https://github.com/phillbush/xmenu" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 2.16 + 2.17 +DEPENDS="imlib2 xorg-libXft xorg-libXinerama" 2.18 +BUILD_DEPENDS="imlib2-dev xorg-libXft-dev xorg-libXinerama-dev" 2.19 + 2.20 +HOST_ARCH="i486 arm x86_64" 2.21 + 2.22 +current_version() 2.23 +{ 2.24 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 2.25 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 2.26 +} 2.27 + 2.28 +# Rules to configure and make the package. 2.29 +compile_rules() 2.30 +{ 2.31 + export CFLAGS="$CFLAGS -std=gnu99" 2.32 + 2.33 + make && 2.34 + make install PREFIX=/usr 2.35 +} 2.36 + 2.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.38 +genpkg_rules() 2.39 +{ 2.40 + cook_copy_folders bin 2.41 +}