wok-next view liboil/receipt @ rev 15362
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 13:07:29 2013 +0000 (2013-10-02) |
parents | 28e430be4305 |
children | 6a3f3d91ab26 |
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 }