# SliTaz package receipt. PACKAGE="twm" VERSION="1.0.11" CATEGORY="x-window" SHORT_DESC="Simple window manager" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://en.wikipedia.org/wiki/Twm" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$XORG_MIRROR/app/$TARBALL" BUILD_DEPENDS="bison flex xorg-util-macros xorg-libX11-dev \ xorg-libXext-dev xorg-libXt-dev xorg-libXmu-dev xorg-libXrandr-dev" DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu \ xorg-libXrandr xorg-libXt" # Rules to configure and make the package. compile_rules() { sed -i -e '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11/app-defaults,' src/Makefile.in ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir $fs/usr cp -a $install/usr/bin $fs/usr }