wok annotate blackbox/receipt @ rev 20563
pam: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 21:59:09 2018 +0100 (2018-12-12) |
parents | 5d53e8ccbc8d |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="blackbox" |
pascal@11217 | 4 VERSION="0.70.1" |
pascal@11217 | 5 CATEGORY="x-window" |
pascal@11217 | 6 SHORT_DESC="A small, fast, full-featured window manager for X" |
pascal@11217 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
al@19278 | 9 WEB_SITE="http://blackboxwm.sourceforge.net/" |
pascal@11217 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11217 | 11 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL" |
al@17501 | 12 TAGS="window-manager" |
pascal@11217 | 13 |
pascal@11217 | 14 DEPENDS="xorg-libXt xorg-libXft" |
pascal@15141 | 15 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto libxml2-dev" |
pascal@11217 | 16 |
pascal@11217 | 17 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc |
pascal@11217 | 18 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'. |
pascal@11217 | 19 |
pascal@11217 | 20 # Rules to configure and make the package. |
pascal@11217 | 21 compile_rules() |
pascal@11217 | 22 { |
pascal@11217 | 23 patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch |
pascal@11217 | 24 patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch |
pascal@11217 | 25 patch -p1 < $stuff/textpropertytostring-unconditional.patch |
al@19278 | 26 |
al@19278 | 27 ./configure \ |
al@19278 | 28 --sysconfdir=/etc \ |
al@19278 | 29 --libexecdir=/usr/bin \ |
al@19278 | 30 --mandir=/usr/share/man \ |
pascal@11217 | 31 $CONFIGURE_ARGS && |
pascal@11217 | 32 make && |
pascal@11217 | 33 make DESTDIR=$DESTDIR install |
pascal@11217 | 34 } |
pascal@11217 | 35 |
pascal@11217 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 37 genpkg_rules() |
pascal@11217 | 38 { |
pascal@11217 | 39 mkdir -p $fs/usr/share |
pascal@15072 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15072 | 41 cp -a $install/usr/share/blackbox $fs/usr/share |
pascal@11217 | 42 } |