wok annotate libglu-mesa/receipt @ rev 13892
cookutils: get tarball from hg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 22:23:35 2013 +0100 (2013-01-17) |
parents | 37eb1b42e1fe |
children | 8f447cf2eee5 |
rev | line source |
---|---|
b1+slitaz@1837 | 1 # SliTaz package receipt. |
b1+slitaz@1837 | 2 |
b1+slitaz@1837 | 3 PACKAGE="libglu-mesa" |
pascal@13789 | 4 VERSION="9.0.0" |
pascal@13789 | 5 CATEGORY="x-window" |
pascal@13789 | 6 SHORT_DESC="OpenGL utility library." |
b1+slitaz@1837 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13789 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
b1+slitaz@1837 | 9 WEB_SITE="http://www.mesa3d.org/" |
pascal@13789 | 10 WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git" |
pascal@13789 | 11 PROVIDE="libglu" |
pascal@13789 | 12 |
slaxemulator@6971 | 13 DEPENDS="glibc-base gcc-lib-base mesa" |
pascal@13789 | 14 BUILD_DEPENDS="mesa-dev automake autoconf libtool" |
pascal@13789 | 15 |
pascal@13789 | 16 # Rules to configure and make the package. |
pascal@13789 | 17 compile_rules() |
pascal@13789 | 18 { |
pascal@13789 | 19 cd $src |
pascal@13789 | 20 ./autogen.sh |
pascal@13789 | 21 ./configure \ |
pascal@13789 | 22 --prefix=/usr \ |
pascal@13789 | 23 $CONFIGURE_ARGS && |
pascal@13789 | 24 make $MAKEFLAGS && make install |
pascal@13789 | 25 } |
b1+slitaz@1837 | 26 |
b1+slitaz@1837 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1837 | 28 genpkg_rules() |
b1+slitaz@1837 | 29 { |
b1+slitaz@1837 | 30 mkdir -p $fs/usr/lib |
pascal@13789 | 31 cp -a $install/usr/lib/libGLU*so* $fs/usr/lib |
b1+slitaz@1837 | 32 } |