wok-6.x view mp/receipt @ rev 18436

subversion: apache mods fail to install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 12:59:29 2015 +0200 (2015-09-23)
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 }