wok annotate icewm/receipt @ rev 16403

X86_64: add liblzma
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 16 11:50:05 2014 +0000 (2014-04-16)
parents fe747cfe0009
children 3cd4cca439e4
rev   line source
slaxemulator@7182 1 # SliTaz package receipt.
slaxemulator@7182 2
slaxemulator@7182 3 PACKAGE="icewm"
slaxemulator@7182 4 VERSION="1.3.7pre2"
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/"
slaxemulator@7182 11 WGET_URL="$SF_MIRROR/icewm/icewm-1.3/1.3.7pre2/$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 \
slaxemulator@7182 21 gdk-pixbuf giflib gettext"
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 \
gokhlayeh@11573 30 --localstatedir=/var --mandir=/usr/share/man --disable-i18n \
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 }