wok annotate xorg-xedit/receipt @ rev 18113
Up: tazpkg (813).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 05 00:39:28 2015 +0300 (2015-06-05) |
parents | e5d0fa35dcd1 |
children | ff6ccb1497d0 |
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@15579 | 8 LICENSE="MIT" |
pascal@11203 | 9 SOURCE="xedit" |
pascal@11203 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@11203 | 11 WEB_SITE="http://xorg.freedesktop.org/" |
pascal@11203 | 12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
al@17501 | 13 TAGS="text-editor" |
pascal@15101 | 14 |
gokhlayeh@11471 | 15 DEPENDS="xorg-libXaw xorg-libXt xorg-libXmu xorg-libX11" |
pascal@11203 | 16 |
pascal@11203 | 17 # Rules to configure and make the package. |
pascal@11203 | 18 compile_rules() |
pascal@11203 | 19 { |
pascal@11203 | 20 cd $src |
pascal@11203 | 21 ./configure \ |
pascal@11203 | 22 --prefix=/usr \ |
pascal@11203 | 23 --mandir=/usr/share/man \ |
pascal@11203 | 24 $CONFIGURE_ARGS && |
pascal@11203 | 25 make && |
pascal@11203 | 26 make DESTDIR=$DESTDIR install |
pascal@11203 | 27 } |
pascal@11203 | 28 |
pascal@11203 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 30 genpkg_rules() |
pascal@11203 | 31 { |
psychomaniak@17340 | 32 mkdir -p $fs/etc $fs/usr/lib |
pascal@15101 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15101 | 34 cp -a $install/usr/lib/X11 $fs/usr/lib |
psychomaniak@17340 | 35 cp -a $install/etc $fs |
pascal@11203 | 36 chmod +x $fs/usr/bin/* |
pascal@11203 | 37 } |
pascal@11203 | 38 |