wok annotate xorg-libXaw/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 7be02119d74d |
children | b67414949731 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXaw" |
al@14640 | 4 VERSION="1.0.11" |
pankso@20 | 5 CATEGORY="x-window" |
al@14640 | 6 SHORT_DESC="X Athena Widgets Library" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14640 | 8 LICENSE="other" |
pankso@12511 | 9 WEB_SITE="http://www.x.org/" |
al@14642 | 10 SOURCE="libXaw" |
al@14642 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@12511 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@12511 | 13 |
slaxemulator@8029 | 14 DEPENDS="xorg-libXmu xorg-libXpm" |
al@14640 | 15 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXpm-dev" |
pankso@20 | 16 |
pankso@20 | 17 # Rules to configure and make the package. |
pankso@20 | 18 compile_rules() |
pankso@20 | 19 { |
al@14640 | 20 ./configure \ |
pankso@12511 | 21 --sysconfdir=/etc \ |
al@14640 | 22 --localstatedir=/var \ |
al@14640 | 23 --disable-static \ |
pankso@12511 | 24 $CONFIGURE_ARGS && |
al@14640 | 25 make && |
al@14640 | 26 make install |
pankso@20 | 27 } |
pankso@20 | 28 |
pankso@20 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 30 genpkg_rules() |
pankso@20 | 31 { |
pankso@20 | 32 mkdir -p $fs/usr/lib |
pankso@12511 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 34 } |