wok-current annotate xorg-xedit/receipt @ rev 12825

libffi: we need it in ARM :-)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 13:16:18 2012 +0200 (2012-05-22)
parents bf4417b54ba9
children 09d3b153d4ed
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"
gokhlayeh@11471 12 DEPENDS="xorg-libXaw xorg-libXt xorg-libXmu xorg-libX11"
pascal@11203 13
pascal@11203 14 # Rules to configure and make the package.
pascal@11203 15 compile_rules()
pascal@11203 16 {
pascal@11203 17 cd $src
pascal@11203 18 ./configure \
pascal@11203 19 --prefix=/usr \
pascal@11203 20 --mandir=/usr/share/man \
pascal@11203 21 $CONFIGURE_ARGS &&
pascal@11203 22 make &&
pascal@11203 23 make DESTDIR=$DESTDIR install
pascal@11203 24 }
pascal@11203 25
pascal@11203 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11203 27 genpkg_rules()
pascal@11203 28 {
pascal@11203 29 mkdir -p $fs/usr/share $fs/usr/lib
pascal@11203 30 cp -a $_pkg/usr/bin $fs/usr
pascal@11203 31 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
pascal@11203 32 cp -a $_pkg/usr/share/X11 $fs/usr/share
pascal@11203 33 chmod +x $fs/usr/bin/*
pascal@11203 34 }
pascal@11203 35