wok-6.x annotate liboil/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | 6e8b1bcb30e2 |
children |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="liboil" |
slaxemulator@6344 | 4 VERSION="0.3.17" |
jozee@2674 | 5 CATEGORY="development" |
jozee@2674 | 6 SHORT_DESC="Library of simple functions that are optimized for various CPUs" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15269 | 8 LICENSE="BSD" |
jozee@2674 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://liboil.freedesktop.org/download/" |
jozee@2674 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2674 | 12 |
pascal@15269 | 13 DEPENDS="" |
pascal@15269 | 14 BUILD_DEPENDS="glibc-base glibc-dev" |
pascal@15269 | 15 |
pascal@24425 | 16 # What is the latest version available today? |
pascal@24425 | 17 current_version() |
pascal@24425 | 18 { |
pascal@24425 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 21 } |
pascal@24425 | 22 |
jozee@2674 | 23 # Rules to configure and make the package. |
jozee@2674 | 24 compile_rules() |
jozee@2674 | 25 { |
jozee@2674 | 26 cd $src |
jozee@2674 | 27 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS |
pascal@15269 | 28 make 2>&1 | grep -v "cmp: liboilarray.c:" |
pascal@15269 | 29 make DESTDIR=$DESTDIR install |
jozee@2674 | 30 } |
jozee@2674 | 31 |
jozee@2674 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 33 genpkg_rules() |
jozee@2674 | 34 { |
jozee@2674 | 35 mkdir -p $fs/usr/lib |
pascal@15269 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15269 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
jozee@2674 | 38 } |