wok-6.x annotate xorg-imake/receipt @ rev 19660
Up cookutils (874)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:03:20 2017 +0200 (2017-01-28) |
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 } |