wok-6.x annotate mousepad/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
parents | a78610b2eb47 |
children | d93dbc77b767 |
rev | line source |
---|---|
erjo@2071 | 1 # SliTaz package receipt. |
erjo@2071 | 2 |
erjo@2071 | 3 PACKAGE="mousepad" |
Hans-G?nter@21474 | 4 VERSION="0.4.1" |
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@21474 | 15 DEPENDS="dbus-glib gtk+ gtksourceview xorg-libXdamage" |
Hans-G?nter@21474 | 16 BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool" |
pankso@9712 | 17 |
erjo@2071 | 18 # Rules to configure and make the package. |
erjo@2071 | 19 compile_rules() |
erjo@2071 | 20 { |
Hans-G?nter@21474 | 21 ./configure \ |
Hans-G?nter@21474 | 22 --prefix=/usr \ |
Hans-G?nter@21474 | 23 --enable-debug=no \ |
Hans-G?nter@21474 | 24 --mandir=/usr/share/man \ |
Hans-G?nter@21474 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21474 | 26 make && |
Hans-G?nter@21474 | 27 make DESTDIR=$DESTDIR install |
erjo@2071 | 28 } |
erjo@2071 | 29 |
erjo@2071 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2071 | 31 genpkg_rules() |
erjo@2071 | 32 { |
erjo@2071 | 33 mkdir -p $fs/usr/share/locale |
Hans-G?nter@21474 | 34 mkdir -p $fs/usr/share/glib-2.0 |
Hans-G?nter@21474 | 35 |
Hans-G?nter@21474 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21474 | 37 cp -a $install/usr/share/locale/de $fs/usr/share/locale |
Hans-G?nter@21474 | 38 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
Hans-G?nter@21474 | 39 cp -a $install/usr/share/locale/ru $fs/usr/share/locale |
Hans-G?nter@21474 | 40 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21474 | 41 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0 |
erjo@2071 | 42 } |
erjo@2071 | 43 |