wok-next annotate xorg-twm/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | |
children | 757d032c55c7 |
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@19805 | 18 # Rules to configure and make the package. |
al@19805 | 19 compile_rules() |
al@19805 | 20 { |
al@19805 | 21 sed -i '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11/app-defaults,' src/Makefile.in |
al@19805 | 22 |
al@19805 | 23 ./configure \ |
al@19805 | 24 --sysconfdir=/etc \ |
al@19805 | 25 --localstatedir=/var \ |
al@19805 | 26 $CONFIGURE_ARGS && |
al@19805 | 27 make && |
al@19805 | 28 make install |
al@19805 | 29 } |
al@19805 | 30 |
al@19805 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19805 | 32 genpkg_rules() |
al@19805 | 33 { |
al@19805 | 34 copy @std |
al@19805 | 35 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu \ |
al@19805 | 36 xorg-libXt" |
al@19805 | 37 CONFIG_FILES="/etc/X11/app-defaults/system.twmrc" |
al@19805 | 38 } |