wok annotate xorg-gccmakedep/receipt @ rev 20233
Up Dropbear (2018.76)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 12:39:40 2018 +0100 (2018-03-05) |
parents | 07ae722ec64e |
children | 814c58f64f83 |
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@3530 | 11 WEB_SITE="http://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 } |