wok-next view liboil/receipt @ rev 2705

fix: consonance BUILD_DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Wed Apr 22 16:32:38 2009 +0000 (2009-04-22)
parents b69fa54df055
children 28e430be4305
line source
1 # SliTaz package receipt.
3 PACKAGE="liboil"
4 VERSION="0.3.15"
5 CATEGORY="development"
6 SHORT_DESC="Library of simple functions that are optimized for various CPUs"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="glibc-base glibc-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://liboil.freedesktop.org/download/"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
29 }