wok annotate xorg-imake/receipt @ rev 19742
lua-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 14:00:56 2017 +0100 (2017-02-18) |
parents | a512bd9350d3 |
children | 814c58f64f83 |
rev | line source |
---|---|
pascal@355 | 1 # SliTaz package receipt. |
pascal@355 | 2 |
pascal@355 | 3 PACKAGE="xorg-imake" |
gokhlayeh@6993 | 4 VERSION="1.0.3" |
pascal@355 | 5 CATEGORY="x-window" |
pascal@355 | 6 SHORT_DESC="X imake utility." |
pascal@355 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pascal@355 | 9 SOURCE="imake" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@355 | 11 WEB_SITE="http://www.x.org/" |
pascal@355 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@355 | 13 |
pascal@15579 | 14 DEPENDS="xorg-cf-files" |
pascal@15579 | 15 BUILD_DEPENDS="xorg-gccmakedep xorg-makedepend pkg-config xorg-xproto perl" |
pascal@15579 | 16 |
pascal@355 | 17 # Rules to configure and make the package. |
pascal@355 | 18 compile_rules() |
pascal@355 | 19 { |
pascal@355 | 20 cd $src |
pascal@355 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@355 | 22 $CONFIGURE_ARGS |
pascal@355 | 23 make |
pascal@15579 | 24 make DESTDIR=$DESTDIR install |
pascal@15579 | 25 chmod +x $DESTDIR/usr/bin/* |
pascal@355 | 26 } |
pascal@355 | 27 |
pascal@355 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@355 | 29 genpkg_rules() |
pascal@355 | 30 { |
pascal@355 | 31 mkdir -p $fs/usr |
pascal@15579 | 32 cp -a $install/usr/bin $fs/usr |
pascal@355 | 33 } |