wok-6.x annotate liboil/receipt @ rev 22066
updated udevil (0.4.3 -> 04.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 14:42:27 2019 +0100 (2019-10-25) |
parents | 876d33bfd889 |
children | 453c249b6219 |
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 |
jozee@2674 | 16 # Rules to configure and make the package. |
jozee@2674 | 17 compile_rules() |
jozee@2674 | 18 { |
jozee@2674 | 19 cd $src |
jozee@2674 | 20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS |
pascal@15269 | 21 make 2>&1 | grep -v "cmp: liboilarray.c:" |
pascal@15269 | 22 make DESTDIR=$DESTDIR install |
jozee@2674 | 23 } |
jozee@2674 | 24 |
jozee@2674 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 26 genpkg_rules() |
jozee@2674 | 27 { |
jozee@2674 | 28 mkdir -p $fs/usr/lib |
pascal@15269 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15269 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
jozee@2674 | 31 } |