wok annotate amiwm/receipt @ rev 20385

Add amiwm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 23 10:59:44 2018 +0200 (2018-06-23)
parents
children 29ddbebcc777
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@20385 12 WGET_URL="ftp://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@20385 18 compile_rules() {
pascal@20385 19 patch -p1 < $stuff/patches/amiwm-man.patch
pascal@20385 20 ./configure $CONFIGURE_ARGS &&
pascal@20385 21 make gram.h &&
pascal@20385 22 make &&
pascal@20385 23 make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
pascal@20385 24
pascal@20385 25 ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
pascal@20385 26 install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
pascal@20385 27
pascal@20385 28 install -Dm644 $stuff/*.1 $install/usr/share/man/man1 # from Debian
pascal@20385 29 gzip -9 $install/usr/share/man/man1/*
pascal@20385 30 install -Dm644 README* LICENSE $install/usr/share/doc
pascal@20385 31 }
pascal@20385 32
pascal@20385 33 genpkg_rules() {
pascal@20385 34 cp -a $install/usr $fs
pascal@20385 35 }