wok-next view mousepad/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 5d53e8ccbc8d |
children | 016c8d2f8b37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mousepad"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Text Editor"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org/"
11 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="text-editor"
14 DEPENDS="gtk+ xorg-libXdamage dbus-glib gtksourceview"
15 BUILD_DEPENDS="intltool gtk+-dev dbus-glib-dev gtksourceview-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --enable-debug=no \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
34 cp -a $install/usr/share/applications $fs/usr/share
35 }