wok view mousepad/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 | d93dbc77b767 |
children | ee0dcf2d36a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mousepad"
4 VERSION="0.4.2"
5 CATEGORY="x-window"
6 TAGS="text-editor"
7 SHORT_DESC="Xfce Text Editor."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://git.xfce.org/apps/mousepad/about/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="dbus-glib gtk+ gtksourceview libgio libxfconf xorg-libXdamage"
16 BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool
17 libgio-dev libxfconf-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CFLAGS="$CFLAGS -I/usr/include/gio-unix-2.0"
32 ./configure \
33 --prefix=/usr \
34 --enable-debug=no \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/locale
45 mkdir -p $fs/usr/share/glib-2.0
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/locale/de $fs/usr/share/locale
49 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
50 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
51 cp -a $install/usr/share/applications $fs/usr/share
52 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
53 }