wok-current view gtksourceview/receipt @ rev 25413

updated wkhtmltopdf (0.12.5 -> 0.12.6)
author Hans-G?nter Theisgen
date Thu Aug 04 08:30:32 2022 +0100 (2022-08-04)
parents 380ffe05937a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtksourceview"
4 VERSION="2.10.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Extends GTK+ framework for multiline text editing."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/gtksourceview/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
15 xorg-libXrandr xorg-libXrender xorg-libXdamage"
16 BUILD_DEPENDS="intltool pkg-config gtk+-dev libxml2-dev expat-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/gtksourceview* $fs/usr/share
43 }