wok-6.x annotate amiwm/receipt @ rev 24498

updated dovecot (2.3.9.2 -> 2.3.18)
author Hans-G?nter Theisgen
date Sat Feb 19 16:47:19 2022 +0100 (2022-02-19)
parents 29ddbebcc777
children
rev   line source
pascal@20385 1 # SliTaz package receipt.
pascal@20385 2
pascal@20385 3 PACKAGE="amiwm"
pascal@20385 4 VERSION="0.21pl2"
pascal@20385 5 CATEGORY="x-window"
pascal@20385 6 SHORT_DESC="Amiga look alike window manager"
pascal@20385 7 MAINTAINER="al.bobylev@gmail.com"
pascal@20385 8 LICENSE="other"
pascal@20385 9 WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html"
pascal@20385 10
pascal@20385 11 TARBALL="$PACKAGE$VERSION.tar.gz"
pascal@24373 12 WGET_URL="http://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
pascal@20385 13
pascal@20385 14 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu"
pascal@20385 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \
pascal@20385 16 xorg-libXmu-dev"
pascal@20385 17
pascal@24373 18 # What is the latest version available today?
pascal@24373 19 current_version()
pascal@24373 20 {
pascal@24373 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24373 22 sed "/latest/d;/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24373 23 }
pascal@24373 24
pascal@20385 25 compile_rules() {
pascal@20385 26 patch -p1 < $stuff/patches/amiwm-man.patch
pascal@20385 27 ./configure $CONFIGURE_ARGS &&
pascal@20385 28 make gram.h &&
pascal@20385 29 make &&
pascal@20385 30 make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
pascal@20385 31
pascal@20385 32 ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
pascal@20385 33 install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
pascal@20385 34
pascal@20385 35 install -Dm644 $stuff/*.1 $install/usr/share/man/man1 # from Debian
pascal@20385 36 gzip -9 $install/usr/share/man/man1/*
pascal@20386 37 mkdir -p $install/usr/share/doc
pascal@20385 38 install -Dm644 README* LICENSE $install/usr/share/doc
pascal@20385 39 }
pascal@20385 40
pascal@20385 41 genpkg_rules() {
pascal@20385 42 cp -a $install/usr $fs
pascal@20385 43 }