wok-current annotate dmenu/receipt @ rev 24830
busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 06:49:50 2022 +0100 (2022-03-24) |
parents | bfabe25c21ff |
children |
rev | line source |
---|---|
jozee@2722 | 1 # SliTaz package receipt. |
jozee@2722 | 2 |
jozee@2722 | 3 PACKAGE="dmenu" |
Hans-G?nter@24488 | 4 VERSION="5.1" |
jozee@2722 | 5 CATEGORY="misc" |
Hans-G?nter@24488 | 6 TAGS="launchbar" |
Hans-G?nter@24488 | 7 SHORT_DESC="Dynamic menu launch bar." |
jozee@2734 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@24488 | 10 WEB_SITE="https://tools.suckless.org/dmenu/" |
Hans-G?nter@24488 | 11 |
jozee@2722 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24488 | 13 WGET_URL="https://dl.suckless.org/tools/$TARBALL" |
jozee@2722 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama" |
pascal@15579 | 16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev" |
pascal@15579 | 17 |
Hans-G?nter@24488 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@24488 | 19 |
pascal@24439 | 20 # What is the latest version available today? |
pascal@24439 | 21 current_version() |
pascal@24439 | 22 { |
pascal@24439 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24439 | 25 } |
pascal@24439 | 26 |
jozee@2722 | 27 # Rules to configure and make the package. |
jozee@2722 | 28 compile_rules() |
jozee@2722 | 29 { |
pankso@16103 | 30 make CC=${HOST_SYSTEM}-gcc && |
Hans-G?nter@24488 | 31 make install DESTDIR=$DESTDIR |
jozee@2722 | 32 } |
jozee@2722 | 33 |
jozee@2722 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2722 | 35 genpkg_rules() |
jozee@2722 | 36 { |
jozee@2722 | 37 mkdir -p $fs/usr/bin |
Hans-G?nter@24488 | 38 cp -a $install/usr/local/bin/* $fs/usr/bin/ |
jozee@2722 | 39 } |