wok-next view liboil/receipt @ rev 12223

Up: tazlito (4.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 16:28:40 2012 +0200 (2012-04-05)
parents a240c3b4e13d
children 876d33bfd889
line source
1 # SliTaz package receipt.
3 PACKAGE="liboil"
4 VERSION="0.3.17"
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 }