wok annotate icewm/receipt @ rev 17315

Up: tazweb (1.10)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 03 00:55:32 2014 +0200 (2014-11-03)
parents 3cd4cca439e4
children 5d53e8ccbc8d
rev   line source
slaxemulator@7182 1 # SliTaz package receipt.
slaxemulator@7182 2
slaxemulator@7182 3 PACKAGE="icewm"
psychomaniak@16838 4 VERSION="1.3.8"
slaxemulator@7182 5 CATEGORY="x-window"
slaxemulator@7182 6 SHORT_DESC="Ice Window Manager with Themes"
slaxemulator@7182 7 MAINTAINER="devl547@gmail.com"
pascal@15319 8 LICENSE="GPL2"
slaxemulator@7182 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7182 10 WEB_SITE="http://www.icewm.org/"
psychomaniak@16838 11 WGET_URL="$SF_MIRROR/icewm/icewm-1.3/$VERSION/$TARBALL"
pascal@15319 12
slaxemulator@7182 13 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
slaxemulator@7182 14 xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
slaxemulator@7182 15 xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
pascal@8939 16 xorg-libXinerama xorg-libXinerama-dev \
slaxemulator@7182 17 xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
slaxemulator@7182 18 gdk-pixbuf-dev pkg-config"
slaxemulator@7182 19 DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm \
slaxemulator@7182 20 xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
psychomaniak@16819 21 gdk-pixbuf giflib gettext-base"
slaxemulator@7182 22
slaxemulator@7182 23 # Rules to configure and make the package.
slaxemulator@7182 24 compile_rules()
slaxemulator@7182 25 {
slaxemulator@7182 26 cd $src
pascal@15319 27 sed -i '/deprecated/d' src/base.h
pascal@15319 28 sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
slaxemulator@7182 29 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/icewm \
psychomaniak@16838 30 --localstatedir=/var --mandir=/usr/share/man \
gokhlayeh@11573 31 $CONFIGURE_ARGS &&
slaxemulator@7182 32 make &&
pascal@15319 33 make DESTDIR=$DESTDIR install
slaxemulator@7182 34 }
slaxemulator@7182 35
slaxemulator@7182 36 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7182 37 genpkg_rules()
slaxemulator@7182 38 {
slaxemulator@7182 39 mkdir -p $fs/usr/
pascal@15319 40 cp -a $install/usr/bin $fs/usr
pascal@15321 41 cp -a $install/usr/share $fs/usr
slaxemulator@7182 42 }