wok annotate xorg-xedit/receipt @ rev 11213

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