wok-current diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/amiwm/receipt	Sat Jun 23 10:59:44 2018 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="amiwm"
     1.7 +VERSION="0.21pl2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Amiga look alike window manager"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="other"
    1.12 +WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html"
    1.13 +
    1.14 +TARBALL="$PACKAGE$VERSION.tar.gz"
    1.15 +WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
    1.16 +
    1.17 +DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu"
    1.18 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \
    1.19 +xorg-libXmu-dev"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	patch -p1 < $stuff/patches/amiwm-man.patch
    1.23 +	./configure $CONFIGURE_ARGS &&
    1.24 +	make gram.h &&
    1.25 +	make &&
    1.26 +	make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
    1.27 +
    1.28 +	ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
    1.29 +	install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
    1.30 +
    1.31 +	install -Dm644 $stuff/*.1 $install/usr/share/man/man1 # from Debian
    1.32 +	gzip -9 $install/usr/share/man/man1/*
    1.33 +	install -Dm644 README* LICENSE $install/usr/share/doc
    1.34 +}
    1.35 +
    1.36 +genpkg_rules() {
    1.37 +	cp -a $install/usr $fs
    1.38 +}