wok view dmenu/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dmenu"
4 VERSION="5.1"
5 CATEGORY="misc"
6 TAGS="launchbar"
7 SHORT_DESC="Dynamic menu launch bar."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://tools.suckless.org/dmenu/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 make CC=${HOST_SYSTEM}-gcc &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/usr/local/bin/* $fs/usr/bin/
39 }