wok annotate mp/receipt @ rev 24007

Up zstd (1.4.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 15:34:50 2021 +0000 (2021-01-29)
parents bb3ad5d937fc
children 241fb98cab1c
rev   line source
allan316@3208 1 # SliTaz package receipt.
allan316@3208 2
allan316@3208 3 PACKAGE="mp"
psychomaniak@18537 4 VERSION="5.2.10"
allan316@3208 5 CATEGORY="development"
allan316@3208 6 SHORT_DESC="A text editor for programmers"
allan316@3208 7 MAINTAINER="allan316@gmail.com"
pascal@15353 8 LICENSE="GPL2"
allan316@3208 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20671 10 WEB_SITE="https://triptico.com/software/mp.html"
pascal@20671 11 WGET_URL="https://triptico.com/download/mp/$TARBALL"
al@17501 12 TAGS="text-editor"
allan316@3208 13
pascal@15353 14 DEPENDS="gtk+"
pascal@17675 15 BUILD_DEPENDS="gtk+-dev"
pascal@15353 16
allan316@3208 17 # Rules to configure and make the package.
allan316@3208 18 compile_rules()
allan316@3208 19 {
pascal@15353 20 mkdir -p $DESTDIR/usr/bin
psychomaniak@18537 21 # sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
pankso@4829 22 ./config.sh \
pankso@4829 23 --prefix=/usr \
pankso@4829 24 --without-qt4 \
pankso@4829 25 $CONFIGURE_ARGS
pascal@15353 26 make && make DESTDIR=$DESTDIR install
allan316@3208 27 }
allan316@3208 28
allan316@3208 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3208 30 genpkg_rules()
allan316@3208 31 {
allan316@3208 32 mkdir -p $fs/usr/share
pascal@15353 33 cp -a $install/usr/bin $fs/usr
pascal@15353 34 cp -a $install/usr/share/mp-5 $fs/usr/share
allan316@3208 35 }