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