wok view amiwm/receipt @ rev 24102
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 10:35:57 2021 +0000 (2021-09-17) |
parents | 5341074b4c44 |
children | 9af0e03b8ad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="amiwm"
4 VERSION="0.21pl2"
5 CATEGORY="x-window"
6 SHORT_DESC="Amiga look alike window manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html"
11 TARBALL="$PACKAGE$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
14 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu"
15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \
16 xorg-libXmu-dev"
18 compile_rules() {
19 patch -p1 < $stuff/patches/amiwm-man.patch
20 ./configure $CONFIGURE_ARGS &&
21 make gram.h &&
22 make &&
23 make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
25 ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
26 install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
28 install -Dm644 $stuff/*.1 $install/usr/share/man/man1 # from Debian
29 gzip -9 $install/usr/share/man/man1/*
30 mkdir -p $install/usr/share/doc
31 install -Dm644 README* LICENSE $install/usr/share/doc
32 }
34 genpkg_rules() {
35 cp -a $install/usr $fs
36 }