wok-6.x view mp/receipt @ rev 17609
Up: gpick (0.2.5)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 12 18:16:49 2015 +0200 (2015-02-12) |
parents | 5d53e8ccbc8d |
children | 17e313b5b9c1 |
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+"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
20 mkdir -p $DESTDIR/usr/bin
21 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
22 ./config.sh \
23 --prefix=/usr \
24 --without-qt4 \
25 $CONFIGURE_ARGS
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/mp-5 $fs/usr/share
35 }