wok annotate amiwm/receipt @ rev 22411

VLC: request of --enable-run-as-root, see http://forum.slitaz.org/topic/vlc-player-does-not-run-on-root
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 13 13:43:22 2019 +0000 (2019-12-13)
parents 5341074b4c44
children 9af0e03b8ad0
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@20386 30 mkdir -p $install/usr/share/doc
pascal@20385 31 install -Dm644 README* LICENSE $install/usr/share/doc
pascal@20385 32 }
pascal@20385 33
pascal@20385 34 genpkg_rules() {
pascal@20385 35 cp -a $install/usr $fs
pascal@20385 36 }