wok-current annotate xorg-xedit/receipt @ rev 15101
xorg-xedit: no more /usr/share/X11 ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 12:49:38 2013 +0000 (2013-08-14) |
parents | c4b90fef608f |
children | eb8067417980 |
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@15101 | 12 |
gokhlayeh@11471 | 13 DEPENDS="xorg-libXaw xorg-libXt xorg-libXmu xorg-libX11" |
pascal@11203 | 14 |
pascal@11203 | 15 # Rules to configure and make the package. |
pascal@11203 | 16 compile_rules() |
pascal@11203 | 17 { |
pascal@11203 | 18 cd $src |
pascal@11203 | 19 ./configure \ |
pascal@11203 | 20 --prefix=/usr \ |
pascal@11203 | 21 --mandir=/usr/share/man \ |
pascal@11203 | 22 $CONFIGURE_ARGS && |
pascal@11203 | 23 make && |
pascal@11203 | 24 make DESTDIR=$DESTDIR install |
pascal@11203 | 25 } |
pascal@11203 | 26 |
pascal@11203 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 28 genpkg_rules() |
pascal@11203 | 29 { |
pascal@11203 | 30 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@15101 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15101 | 32 cp -a $install/usr/lib/X11 $fs/usr/lib |
pascal@11203 | 33 chmod +x $fs/usr/bin/* |
pascal@11203 | 34 } |
pascal@11203 | 35 |