wok view mp/receipt @ rev 17891

Up liblzma (5.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:21:15 2015 +0200 (2015-04-02)
parents 17e313b5b9c1
children bb3ad5d937fc
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"
12 TAGS="text-editor"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 mkdir -p $DESTDIR/usr/bin
22 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
23 ./config.sh \
24 --prefix=/usr \
25 --without-qt4 \
26 $CONFIGURE_ARGS
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/mp-5 $fs/usr/share
36 }