wok-current view mousepad/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
parents | c6d913047a31 |
children | 17091bc7c301 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CFLAGS="$CFLAGS -I/usr/include/gio-unix-2.0"
24 ./configure \
25 --prefix=/usr \
26 --enable-debug=no \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/locale
37 mkdir -p $fs/usr/share/glib-2.0
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/locale/de $fs/usr/share/locale
41 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
42 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
43 cp -a $install/usr/share/applications $fs/usr/share
44 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
45 }