wok-6.x annotate icewm/receipt @ rev 15319
icewm: add libfontconfig
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 17:59:45 2013 +0000 (2013-09-27) |
parents | b7319995b37e |
children | 7dd9ce4be969 |
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@15319 | 41 cp -a $installư/usr/share $fs/usr |
slaxemulator@7182 | 42 } |