wok-next annotate icewm/receipt @ rev 18042

ppp/ppp.cgi: misc fixes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 11 16:08:11 2015 +0200 (2015-05-11)
parents 5d53e8ccbc8d
children 8417cbe6fdae
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/"
pascal@17869 11 WGET_URL="$SF_MIRROR/icewm/icewm-${VERSION%.*}/$VERSION/$TARBALL"
al@17501 12 TAGS="window-manager"
pascal@15319 13
slaxemulator@7182 14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
slaxemulator@7182 15 xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
slaxemulator@7182 16 xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
pascal@8939 17 xorg-libXinerama xorg-libXinerama-dev \
slaxemulator@7182 18 xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
slaxemulator@7182 19 gdk-pixbuf-dev pkg-config"
slaxemulator@7182 20 DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm \
slaxemulator@7182 21 xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
psychomaniak@16819 22 gdk-pixbuf giflib gettext-base"
slaxemulator@7182 23
slaxemulator@7182 24 # Rules to configure and make the package.
slaxemulator@7182 25 compile_rules()
slaxemulator@7182 26 {
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 }