wok-next annotate libgtkhtml/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 8f447cf2eee5
children d3eb5f4b53ea
rev   line source
rcx@3298 1 # SliTaz package receipt.
rcx@3298 2
rcx@3298 3 PACKAGE="libgtkhtml"
rcx@3298 4 VERSION="2.11.1"
rcx@3298 5 CATEGORY="x-window"
rcx@3298 6 SHORT_DESC="A gtk-based HTML rendering/editing library."
rcx@3298 7 MAINTAINER="rcx@zoominternet.net"
pascal@15473 8 LICENSE="LGPL2"
pascal@15473 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15473 10 WEB_SITE="http://freshmeat.net/projects/libgtkhtml/"
pascal@15473 11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/2.11/$TARBALL"
pascal@15473 12
rcx@3298 13 DEPENDS="glibc-base glib libgio expat libxml2 zlib \
rcx@3298 14 gtk+ cairo atk fontconfig freetype pango pixman libpng \
rcx@3298 15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXcursor \
rcx@3298 16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
slaxemulator@8961 17 BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev"
rcx@3298 18
rcx@3298 19 # Rules to configure and make the package.
rcx@3298 20 compile_rules()
rcx@3298 21 {
rcx@3298 22 cd $src
rcx@3298 23 ./configure \
rcx@3298 24 --prefix=/usr \
rcx@3298 25 --sysconfdir=/etc \
rcx@3298 26 --infodir=/usr/share/info \
rcx@3298 27 --mandir=/usr/share/man \
rcx@3298 28 $CONFIGURE_ARGS &&
pascal@15602 29 make && make DESTDIR=$DESTDIR install
rcx@3298 30 }
rcx@3298 31
rcx@3298 32 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3298 33 genpkg_rules()
rcx@3298 34 {
rcx@3298 35 mkdir -p $fs/usr/lib
pascal@15473 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
rcx@3298 37 }