wok-6.x annotate dmenu/receipt @ rev 24467
updated dasm (2.20.11 -> 2.20.14.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 13:54:18 2022 +0100 (2022-02-17) |
parents | 1a0b3262dccf |
children | 5a3c96f5e65a |
rev | line source |
---|---|
jozee@2722 | 1 # SliTaz package receipt. |
jozee@2722 | 2 |
jozee@2722 | 3 PACKAGE="dmenu" |
pankso@16103 | 4 VERSION="4.5" |
jozee@2722 | 5 CATEGORY="misc" |
jozee@2722 | 6 SHORT_DESC="dynamic menu lauch bar" |
jozee@2734 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
jozee@2722 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6361 | 10 WEB_SITE="http://tools.suckless.org/dmenu/" |
slaxemulator@6361 | 11 WGET_URL="http://dl.suckless.org/tools/$TARBALL" |
jozee@4934 | 12 TAGS="launchbar" |
pankso@16103 | 13 HOST_ARCH="i486 arm" |
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 |
pascal@24439 | 18 # What is the latest version available today? |
pascal@24439 | 19 current_version() |
pascal@24439 | 20 { |
pascal@24439 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24439 | 23 } |
pascal@24439 | 24 |
jozee@2722 | 25 # Rules to configure and make the package. |
jozee@2722 | 26 compile_rules() |
jozee@2722 | 27 { |
pankso@16103 | 28 make CC=${HOST_SYSTEM}-gcc && |
pascal@15579 | 29 make DESTDIR=$DESTDIR install |
jozee@2722 | 30 } |
jozee@2722 | 31 |
jozee@2722 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2722 | 33 genpkg_rules() |
jozee@2722 | 34 { |
jozee@2722 | 35 mkdir -p $fs/usr/bin |
pascal@15579 | 36 cp -a $install/usr/local/bin/* $fs/usr/bin/ |
jozee@2722 | 37 } |