wok annotate blackbox/receipt @ rev 24063
Fix sane-backends-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 09:56:19 2021 +0000 (2021-06-12) |
parents | f8fdb78e9a40 |
children | d8c28080cd55 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="blackbox" |
Hans-G?nter@22542 | 4 VERSION="0.75" |
pascal@11217 | 5 CATEGORY="x-window" |
Hans-G?nter@22542 | 6 TAGS="window-manager" |
Hans-G?nter@22542 | 7 SHORT_DESC="A small, fast, full-featured window manager for X." |
pascal@11217 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15579 | 9 LICENSE="MIT" |
pascal@20671 | 10 WEB_SITE="https://github.com/bbidulock/blackboxwm" |
pascal@11217 | 11 |
Hans-G?nter@22542 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22542 | 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
Hans-G?nter@22542 | 14 |
Hans-G?nter@22542 | 15 DEPENDS="gcc83-lib-base xorg-libXft xorg-libXt" |
Hans-G?nter@22542 | 16 BUILD_DEPENDS="autoconf automake gcc83 libtool libxml2-dev |
Hans-G?nter@22542 | 17 xorg-libXft-dev xorg-libXt-dev xorg-xextproto" |
pascal@11217 | 18 |
pascal@11217 | 19 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc |
pascal@11217 | 20 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'. |
pascal@11217 | 21 |
pascal@24055 | 22 current_version() |
pascal@24055 | 23 { |
pascal@24055 | 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 25 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 26 } |
pascal@24055 | 27 |
pascal@11217 | 28 # Rules to configure and make the package. |
pascal@11217 | 29 compile_rules() |
pascal@11217 | 30 { |
Hans-G?nter@22542 | 31 # patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch |
Hans-G?nter@22542 | 32 # patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch |
Hans-G?nter@22542 | 33 # patch -p1 < $stuff/textpropertytostring-unconditional.patch |
al@19278 | 34 |
Hans-G?nter@22545 | 35 ./autogen.sh && |
Hans-G?nter@22542 | 36 ./configure \ |
Hans-G?nter@22542 | 37 CC=gcc-83 \ |
Hans-G?nter@22542 | 38 CXX=g++-83 \ |
Hans-G?nter@22542 | 39 --sysconfdir=/etc \ |
Hans-G?nter@22542 | 40 --libexecdir=/usr/bin \ |
Hans-G?nter@22542 | 41 --mandir=/usr/share/man \ |
Hans-G?nter@22542 | 42 $CONFIGURE_ARGS && |
pascal@11217 | 43 make && |
pascal@11217 | 44 make DESTDIR=$DESTDIR install |
pascal@11217 | 45 } |
pascal@11217 | 46 |
pascal@11217 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 48 genpkg_rules() |
pascal@11217 | 49 { |
pascal@11217 | 50 mkdir -p $fs/usr/share |
Hans-G?nter@22542 | 51 |
Hans-G?nter@22542 | 52 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22542 | 53 cp -a $install/usr/share/blackbox $fs/usr/share |
pascal@11217 | 54 } |