wok-undigest view xorg-xedit/receipt @ rev 366

Add xorg-xedit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 22 09:33:33 2011 +0200 (2011-07-22)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xedit"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple text editor for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="xedit"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://xorg.freedesktop.org/"
11 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
31 cp -a $_pkg/usr/share/X11 $fs/usr/share
32 chmod +x $fs/usr/bin/*
33 }