wok-next annotate liboil/receipt @ rev 6034
icedtea6-jdk: may store some sources in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 16 17:31:43 2010 +0200 (2010-08-16) |
parents | b69fa54df055 |
children | 28e430be4305 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="liboil" |
jozee@2674 | 4 VERSION="0.3.15" |
jozee@2674 | 5 CATEGORY="development" |
jozee@2674 | 6 SHORT_DESC="Library of simple functions that are optimized for various CPUs" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2674 | 8 DEPENDS="" |
jozee@2691 | 9 BUILD_DEPENDS="glibc-base glibc-dev" |
jozee@2674 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2674 | 11 WEB_SITE="http://liboil.freedesktop.org/download/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2674 | 13 |
jozee@2674 | 14 # Rules to configure and make the package. |
jozee@2674 | 15 compile_rules() |
jozee@2674 | 16 { |
jozee@2674 | 17 cd $src |
jozee@2674 | 18 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS |
jozee@2674 | 19 make |
jozee@2674 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 21 } |
jozee@2674 | 22 |
jozee@2674 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 24 genpkg_rules() |
jozee@2674 | 25 { |
jozee@2674 | 26 mkdir -p $fs/usr/lib |
jozee@2674 | 27 cp -a $_pkg/usr/bin $fs/usr |
jozee@2674 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
jozee@2674 | 29 } |