wok-next view mp/receipt @ rev 15515

Up: thunderbird-langpack-hu (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:23 2013 +0100 (2013-11-19)
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 }