wok-current view amiwm/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | 29ddbebcc777 |
children |
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="http://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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 compile_rules() {
26 patch -p1 < $stuff/patches/amiwm-man.patch
27 ./configure $CONFIGURE_ARGS &&
28 make gram.h &&
29 make &&
30 make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
32 ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
33 install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
35 install -Dm644 $stuff/*.1 $install/usr/share/man/man1 # from Debian
36 gzip -9 $install/usr/share/man/man1/*
37 mkdir -p $install/usr/share/doc
38 install -Dm644 README* LICENSE $install/usr/share/doc
39 }
41 genpkg_rules() {
42 cp -a $install/usr $fs
43 }