wok view mp/receipt @ rev 3911
linux: add hotfix patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 17 16:45:47 2009 +0200 (2009-08-17) |
parents | 748379a5331b |
children | f666056b4ad7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mp"
4 VERSION="5.1.2"
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="http://triptico.com/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 }