wok-6.x view mp/receipt @ rev 16462
Add a desktop file for Python IDLE (we miss TK in ARM to have it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 11:24:38 2014 +0200 (2014-04-21) |
parents | f666056b4ad7 |
children | 5d53e8ccbc8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mp"
4 VERSION="5.1.3"
5 CATEGORY="development"
6 SHORT_DESC="A text editor for programmers"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://triptico.com/software/mp.html"
11 WGET_URL="http://triptico.com/download/$TARBALL"
13 DEPENDS="gtk+"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr/bin
20 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
21 ./config.sh \
22 --prefix=/usr \
23 --without-qt4 \
24 $CONFIGURE_ARGS
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/mp-5 $fs/usr/share
34 }