wok-next annotate xmountains/receipt @ rev 21038
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 08 15:34:32 2018 +0200 (2018-11-08) |
parents | |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20949 | 1 # SliTaz package receipt v2. |
al@20949 | 2 |
al@20949 | 3 PACKAGE="xmountains" |
al@20949 | 4 VERSION="2.9.postgit20180126" |
al@20949 | 5 COMMIT="8c3d8c8" |
al@20949 | 6 CATEGORY="x-window" |
al@20949 | 7 SHORT_DESC="X11 based fractal landscape generator" |
al@20949 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20949 | 9 LICENSE="MIT" |
al@20949 | 10 WEB_SITE="https://spbooth.github.io/xmountains/" |
al@20949 | 11 |
al@20949 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20949 | 13 WGET_URL="https://github.com/spbooth/xmountains/archive/$COMMIT.tar.gz" |
al@20949 | 14 |
al@20949 | 15 # original web page is down |
al@20949 | 16 # original version 2.9 available here: |
al@20949 | 17 # http://archive.ubuntu.com/ubuntu/pool/universe/x/xmountains/xmountains_2.9.orig.tar.gz |
al@20949 | 18 |
al@20949 | 19 BUILD_DEPENDS="xorg-imake xorg-xorgproto xorg-libX11-dev xorg-xbitmaps" |
al@20949 | 20 |
al@20949 | 21 compile_rules() { |
al@20949 | 22 xmkmf && |
al@20949 | 23 sed -i 's|/usr/man|/usr/share/man|' Makefile && |
al@20949 | 24 make && |
al@20949 | 25 make install && |
al@20949 | 26 make install.man || return 1 |
al@20949 | 27 |
al@20949 | 28 install -Dm644 xmountains.fr.man $install/usr/share/man/fr/man1/xmountains.1x |
al@20949 | 29 |
al@20949 | 30 rm docs/google* |
al@20949 | 31 cook_pick_docs docs/* |
al@20949 | 32 } |
al@20949 | 33 |
al@20949 | 34 genpkg_rules() { |
al@20949 | 35 copy @std |
al@20949 | 36 DEPENDS="xorg-libX11" |
al@20949 | 37 } |