wok-current 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 | 442c81c9dad8 |
children | 449274d13a2b |
files | mp/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mp/receipt Thu May 28 12:14:04 2009 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mp" 1.7 +VERSION="5.1.0-rc1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A text editor for programmers" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://triptico.com/software/mp.html" 1.14 +WGET_URL="$WEB_SITE/download/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + mkdir -p $PWD/_pkg/usr/bin 1.21 + ./config.sh --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/share/mp-5 $fs/usr/share 1.33 + strip -s $fs/usr/bin/* 1.34 +} 1.35 +