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

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 20:36:56 2023 +0000 (20 months ago)
parents 6e8b1bcb30e2
children
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="https://liboil.freedesktop.org/download/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="glibc-base glibc-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
28 make 2>&1 | grep -v "cmp: liboilarray.c:"
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib/
38 }