wok view dmenu/receipt @ rev 24449
updated curl, curl-dev and libcurl (7.72.0 -> 7.81.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 11:04:54 2022 +0100 (2022-02-15) |
parents | 1a0b3262dccf |
children | 5a3c96f5e65a |
line source
1 # SliTaz package receipt.
3 PACKAGE="dmenu"
4 VERSION="4.5"
5 CATEGORY="misc"
6 SHORT_DESC="dynamic menu lauch bar"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tools.suckless.org/dmenu/"
11 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
12 TAGS="launchbar"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev"
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-[0-9]/!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 make CC=${HOST_SYSTEM}-gcc &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/usr/local/bin/* $fs/usr/bin/
37 }