wok-6.x view liboil/receipt @ rev 13086

get-wifi-firmware: zd1211 firmware (2.21.0.0-1)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jun 25 12:37:55 2012 +0000 (2012-06-25)
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 }