wok-current view mp/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mp"
4 VERSION="5.58"
5 CATEGORY="development"
6 TAGS="text-editor"
7 SHORT_DESC="A text editor for programmers."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://triptico.com/software/mp.html"
12 TARBALL="$PACKAGE-${VERSION%.*}.tar.gz"
13 WGET_URL="https://triptico.com/download/$TARBALL"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/ttcdt/mp-5.x/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/bin
29 # sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
30 ./config.sh \
31 --prefix=/usr \
32 --without-qt4 \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/mp-5
43 cp -a $install/usr/bin $fs/usr
44 # cp -a $install/usr/share/mp-5 $fs/usr/share
45 cp -a $src/mp_*.mpsl $fs/usr/share/mp-5
46 cp -a $src/lang $fs/usr/share/mp-5
47 }