wok-current view liboil/receipt @ rev 15702
Up: udevil (0.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:11:57 2013 +0100 (2013-12-22) |
parents | 28e430be4305 |
children | 6e8b1bcb30e2 |
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://liboil.freedesktop.org/download/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="glibc-base glibc-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
21 make 2>&1 | grep -v "cmp: liboilarray.c:"
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 }