wok-next annotate libgtkhtml/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | ee5c8b018b62 |
children | e70c0b9c5adf |
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@17869 | 11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$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 ./configure \ |
rcx@3298 | 23 --prefix=/usr \ |
rcx@3298 | 24 --sysconfdir=/etc \ |
rcx@3298 | 25 --infodir=/usr/share/info \ |
rcx@3298 | 26 --mandir=/usr/share/man \ |
rcx@3298 | 27 $CONFIGURE_ARGS && |
pascal@15602 | 28 make && make DESTDIR=$DESTDIR install |
rcx@3298 | 29 } |
rcx@3298 | 30 |
rcx@3298 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3298 | 32 genpkg_rules() |
rcx@3298 | 33 { |
rcx@3298 | 34 mkdir -p $fs/usr/lib |
pascal@15473 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
rcx@3298 | 36 } |