wok view mp/receipt @ rev 3208
added mp a text editor for programmer
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 12:14:04 2009 +0000 (2009-05-28) |
parents | |
children | bae029d27902 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mp"
4 VERSION="5.1.0-rc1"
5 CATEGORY="development"
6 SHORT_DESC="A text editor for programmers"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://triptico.com/software/mp.html"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $PWD/_pkg/usr/bin
18 ./config.sh --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/mp-5 $fs/usr/share
30 strip -s $fs/usr/bin/*
31 }