wok-6.x annotate mp/receipt @ rev 24999
updated nmap (7.80 -> 7.92)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 13:38:34 2022 +0100 (2022-05-16) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
allan316@3208 | 1 # SliTaz package receipt. |
allan316@3208 | 2 |
allan316@3208 | 3 PACKAGE="mp" |
Hans-G?nter@24920 | 4 VERSION="5.58" |
allan316@3208 | 5 CATEGORY="development" |
Hans-G?nter@24920 | 6 TAGS="text-editor" |
Hans-G?nter@24920 | 7 SHORT_DESC="A text editor for programmers." |
allan316@3208 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15353 | 9 LICENSE="GPL2" |
pascal@20671 | 10 WEB_SITE="https://triptico.com/software/mp.html" |
Hans-G?nter@24920 | 11 |
Hans-G?nter@24920 | 12 TARBALL="$PACKAGE-${VERSION%.*}.tar.gz" |
Hans-G?nter@24920 | 13 WGET_URL="https://triptico.com/download/$TARBALL" |
allan316@3208 | 14 |
pascal@15353 | 15 DEPENDS="gtk+" |
pascal@17675 | 16 BUILD_DEPENDS="gtk+-dev" |
pascal@15353 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@24453 | 21 wget -O - https://github.com/ttcdt/mp-5.x/tags 2>/dev/null | \ |
pascal@24453 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24453 | 23 } |
pascal@24453 | 24 |
allan316@3208 | 25 # Rules to configure and make the package. |
allan316@3208 | 26 compile_rules() |
allan316@3208 | 27 { |
pascal@15353 | 28 mkdir -p $DESTDIR/usr/bin |
psychomaniak@18537 | 29 # sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c |
Hans-G?nter@24920 | 30 ./config.sh \ |
Hans-G?nter@24920 | 31 --prefix=/usr \ |
Hans-G?nter@24920 | 32 --without-qt4 \ |
Hans-G?nter@24920 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@24920 | 34 make -j 1 && |
Hans-G?nter@24920 | 35 make DESTDIR=$DESTDIR install |
allan316@3208 | 36 } |
allan316@3208 | 37 |
allan316@3208 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3208 | 39 genpkg_rules() |
allan316@3208 | 40 { |
Hans-G?nter@24920 | 41 mkdir -p $fs/usr/share/mp-5 |
Hans-G?nter@24920 | 42 |
Hans-G?nter@24920 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24920 | 44 # cp -a $install/usr/share/mp-5 $fs/usr/share |
Hans-G?nter@24920 | 45 cp -a $src/mp_*.mpsl $fs/usr/share/mp-5 |
Hans-G?nter@24920 | 46 cp -a $src/lang $fs/usr/share/mp-5 |
allan316@3208 | 47 } |