wok-4.x view xorg-xedit/receipt @ rev 11392
Compat: ensure that sqlite genpkg_rules() doesn't return a false failure
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 05:11:58 2011 +0100 (2011-12-10) |
parents | |
children | c4b90fef608f |
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 }