wok annotate mp/receipt @ rev 17899

Up: tazpkg (763): fix search.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 03 15:53:11 2015 +0300 (2015-04-03)
parents 17e313b5b9c1
children bb3ad5d937fc
rev   line source
allan316@3208 1 # SliTaz package receipt.
allan316@3208 2
allan316@3208 3 PACKAGE="mp"
pankso@4829 4 VERSION="5.1.3"
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"
allan316@3208 10 WEB_SITE="http://triptico.com/software/mp.html"
pascal@3220 11 WGET_URL="http://triptico.com/download/$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@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@15353 21 mkdir -p $DESTDIR/usr/bin
pascal@15353 22 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
pankso@4829 23 ./config.sh \
pankso@4829 24 --prefix=/usr \
pankso@4829 25 --without-qt4 \
pankso@4829 26 $CONFIGURE_ARGS
pascal@15353 27 make && make DESTDIR=$DESTDIR install
allan316@3208 28 }
allan316@3208 29
allan316@3208 30 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3208 31 genpkg_rules()
allan316@3208 32 {
allan316@3208 33 mkdir -p $fs/usr/share
pascal@15353 34 cp -a $install/usr/bin $fs/usr
pascal@15353 35 cp -a $install/usr/share/mp-5 $fs/usr/share
allan316@3208 36 }