wok-current annotate xorg-gccmakedep/receipt @ rev 20486
perl: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:09:53 2018 +0200 (2018-10-26) |
parents | eb8067417980 |
children | 467e02d441f4 |
rev | line source |
---|---|
pascal@3530 | 1 # SliTaz package receipt. |
pascal@3530 | 2 |
pascal@3530 | 3 PACKAGE="xorg-gccmakedep" |
pascal@3530 | 4 VERSION="1.0.2" |
pascal@3530 | 5 CATEGORY="x-window" |
pascal@3530 | 6 SHORT_DESC="X gccmakedep utility." |
pascal@3530 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pascal@3530 | 9 SOURCE="gccmakedep" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pascal@3530 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@3530 | 13 |
pascal@15579 | 14 BUILD_DEPENDS="xorg-dev-proto" |
pascal@15579 | 15 |
pascal@3530 | 16 # Rules to configure and make the package. |
pascal@3530 | 17 compile_rules() |
pascal@3530 | 18 { |
pascal@3530 | 19 cd $src |
pascal@3530 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@3530 | 21 $CONFIGURE_ARGS |
pascal@3530 | 22 make |
pascal@15579 | 23 make DESTDIR=$DESTDIR install |
pascal@15579 | 24 chmod +x $DESTDIR/usr/bin/* |
pascal@3530 | 25 } |
pascal@3530 | 26 |
pascal@3530 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3530 | 28 genpkg_rules() |
pascal@3530 | 29 { |
pascal@3530 | 30 mkdir -p $fs/usr |
pascal@15579 | 31 cp -a $install/usr/bin $fs/usr |
pascal@3530 | 32 } |