wok-next annotate xorg-twm/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | ea3c4b76ea5d |
children | cd7906120828 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19805 | 2 |
al@19805 | 3 PACKAGE="xorg-twm" |
al@19805 | 4 VERSION="1.0.9" |
al@19805 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="Simple window manager" |
al@19805 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19805 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://en.wikipedia.org/wiki/Twm" |
al@19805 | 10 |
al@19805 | 11 TARBALL="twm-$VERSION.tar.bz2" |
al@19805 | 12 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
al@19805 | 13 |
al@19805 | 14 BUILD_DEPENDS="xorg-util-macros xorg-libX11-dev xorg-libXext-dev \ |
al@19805 | 15 xorg-libXt-dev xorg-libXmu-dev" |
al@19805 | 16 PKG_RULE="std" |
al@19805 | 17 |
al@20534 | 18 compile_rules() { |
al@19805 | 19 sed -i '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11/app-defaults,' src/Makefile.in |
al@19805 | 20 |
al@20534 | 21 ./configure $CONFIGURE_ARGS && |
al@19805 | 22 make && |
al@19805 | 23 make install |
al@19805 | 24 } |
al@19805 | 25 |
al@20534 | 26 genpkg_rules() { |
al@19805 | 27 copy @std |
al@19805 | 28 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu \ |
al@19805 | 29 xorg-libXt" |
al@19805 | 30 CONFIG_FILES="/etc/X11/app-defaults/system.twmrc" |
al@19805 | 31 } |