wok-current diff 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 diff
1.1 --- a/mp/receipt Tue Feb 15 18:29:48 2022 +0000 1.2 +++ b/mp/receipt Fri Sep 01 12:04:33 2023 +0000 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mp" 1.7 -VERSION="5.2.10" 1.8 +VERSION="5.58" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="A text editor for programmers" 1.11 +TAGS="text-editor" 1.12 +SHORT_DESC="A text editor for programmers." 1.13 MAINTAINER="allan316@gmail.com" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="https://triptico.com/software/mp.html" 1.17 -WGET_URL="https://triptico.com/download/mp/$TARBALL" 1.18 -TAGS="text-editor" 1.19 + 1.20 +TARBALL="$PACKAGE-${VERSION%.*}.tar.gz" 1.21 +WGET_URL="https://triptico.com/download/$TARBALL" 1.22 1.23 DEPENDS="gtk+" 1.24 BUILD_DEPENDS="gtk+-dev" 1.25 @@ -26,17 +27,21 @@ 1.26 { 1.27 mkdir -p $DESTDIR/usr/bin 1.28 # sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c 1.29 - ./config.sh \ 1.30 - --prefix=/usr \ 1.31 - --without-qt4 \ 1.32 - $CONFIGURE_ARGS 1.33 - make && make DESTDIR=$DESTDIR install 1.34 + ./config.sh \ 1.35 + --prefix=/usr \ 1.36 + --without-qt4 \ 1.37 + $CONFIGURE_ARGS && 1.38 + make -j 1 && 1.39 + make DESTDIR=$DESTDIR install 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - mkdir -p $fs/usr/share 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install/usr/share/mp-5 $fs/usr/share 1.48 + mkdir -p $fs/usr/share/mp-5 1.49 + 1.50 + cp -a $install/usr/bin $fs/usr 1.51 +# cp -a $install/usr/share/mp-5 $fs/usr/share 1.52 + cp -a $src/mp_*.mpsl $fs/usr/share/mp-5 1.53 + cp -a $src/lang $fs/usr/share/mp-5 1.54 }