wok-undigest annotate xorg-xedit/receipt @ rev 482

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