wok annotate mousepad/receipt @ rev 24070
Up harfbuzz (2.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 06 14:28:49 2021 +0000 (2021-07-06) |
parents | c6d913047a31 |
children | 17091bc7c301 |
rev | line source |
---|---|
erjo@2071 | 1 # SliTaz package receipt. |
erjo@2071 | 2 |
erjo@2071 | 3 PACKAGE="mousepad" |
Hans-G?nter@23189 | 4 VERSION="0.4.2" |
erjo@2071 | 5 CATEGORY="x-window" |
Hans-G?nter@21474 | 6 TAGS="text-editor" |
Hans-G?nter@21474 | 7 SHORT_DESC="Xfce Text Editor." |
erjo@2071 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@21474 | 10 WEB_SITE="https://git.xfce.org/apps/mousepad/about/" |
Hans-G?nter@21474 | 11 |
erjo@2071 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21474 | 13 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@2071 | 14 |
Hans-G?nter@23189 | 15 DEPENDS="dbus-glib gtk+ gtksourceview libgio libxfconf xorg-libXdamage" |
Hans-G?nter@23189 | 16 BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool |
Hans-G?nter@23189 | 17 libgio-dev libxfconf-dev" |
pankso@9712 | 18 |
erjo@2071 | 19 # Rules to configure and make the package. |
erjo@2071 | 20 compile_rules() |
erjo@2071 | 21 { |
Hans-G?nter@23189 | 22 export CFLAGS="$CFLAGS -I/usr/include/gio-unix-2.0" |
Hans-G?nter@23189 | 23 |
Hans-G?nter@21474 | 24 ./configure \ |
Hans-G?nter@21474 | 25 --prefix=/usr \ |
Hans-G?nter@21474 | 26 --enable-debug=no \ |
Hans-G?nter@21474 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@21474 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21474 | 29 make && |
Hans-G?nter@21474 | 30 make DESTDIR=$DESTDIR install |
erjo@2071 | 31 } |
erjo@2071 | 32 |
erjo@2071 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2071 | 34 genpkg_rules() |
erjo@2071 | 35 { |
erjo@2071 | 36 mkdir -p $fs/usr/share/locale |
Hans-G?nter@21474 | 37 mkdir -p $fs/usr/share/glib-2.0 |
Hans-G?nter@21474 | 38 |
Hans-G?nter@21474 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21474 | 40 cp -a $install/usr/share/locale/de $fs/usr/share/locale |
Hans-G?nter@21474 | 41 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
Hans-G?nter@21474 | 42 cp -a $install/usr/share/locale/ru $fs/usr/share/locale |
Hans-G?nter@21474 | 43 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21474 | 44 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0 |
erjo@2071 | 45 } |
erjo@2071 | 46 |