wok annotate libgtkhtml/receipt @ rev 12989
Up: db (5.3.21) and cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 04 00:47:21 2012 +0200 (2012-06-04) |
parents | 3193d21a094b |
children | 8f447cf2eee5 |
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" |
rcx@3298 | 8 DEPENDS="glibc-base glib libgio expat libxml2 zlib \ |
rcx@3298 | 9 gtk+ cairo atk fontconfig freetype pango pixman libpng \ |
rcx@3298 | 10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXcursor \ |
rcx@3298 | 11 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
slaxemulator@8961 | 12 BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev" |
rcx@3298 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3298 | 14 WEB_SITE="http://freshmeat.net/projects/libgtkhtml/" |
rcx@3298 | 15 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/2.11/$TARBALL" |
rcx@3298 | 16 |
rcx@3298 | 17 # Rules to configure and make the package. |
rcx@3298 | 18 compile_rules() |
rcx@3298 | 19 { |
rcx@3298 | 20 cd $src |
rcx@3298 | 21 ./configure \ |
rcx@3298 | 22 --prefix=/usr \ |
rcx@3298 | 23 --sysconfdir=/etc \ |
rcx@3298 | 24 --infodir=/usr/share/info \ |
rcx@3298 | 25 --mandir=/usr/share/man \ |
rcx@3298 | 26 $CONFIGURE_ARGS && |
rcx@3298 | 27 make && make DESTDIR=$PWD/_pkg install |
rcx@3298 | 28 } |
rcx@3298 | 29 |
rcx@3298 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3298 | 31 genpkg_rules() |
rcx@3298 | 32 { |
rcx@3298 | 33 mkdir -p $fs/usr/lib |
rcx@3298 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3298 | 35 } |