wok annotate blackbox/receipt @ rev 17068
Add tcpcrypt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 22 16:10:45 2014 +0200 (2014-08-22) |
parents | b7f230269421 |
children | 5d53e8ccbc8d |
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" |
pascal@11217 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11217 | 10 WEB_SITE="http://blackboxwm.sourceforge.net/" |
pascal@11217 | 11 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL" |
pascal@11217 | 12 |
pascal@11217 | 13 DEPENDS="xorg-libXt xorg-libXft" |
pascal@15141 | 14 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto libxml2-dev" |
pascal@11217 | 15 |
pascal@11217 | 16 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc |
pascal@11217 | 17 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'. |
pascal@11217 | 18 |
pascal@11217 | 19 # Rules to configure and make the package. |
pascal@11217 | 20 compile_rules() |
pascal@11217 | 21 { |
pascal@11217 | 22 cd $src |
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 |
pascal@11217 | 26 ./configure --sysconfdir=/etc \ |
pascal@11217 | 27 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@11217 | 28 $CONFIGURE_ARGS && |
pascal@11217 | 29 make && |
pascal@11217 | 30 make DESTDIR=$DESTDIR install |
pascal@11217 | 31 } |
pascal@11217 | 32 |
pascal@11217 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 34 genpkg_rules() |
pascal@11217 | 35 { |
pascal@11217 | 36 mkdir -p $fs/usr/share |
pascal@15072 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15072 | 38 cp -a $install/usr/share/blackbox $fs/usr/share |
pascal@11217 | 39 } |