wok annotate liboil/receipt @ rev 20489

Add perl-devel-checklib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 26 16:03:34 2018 +0200 (2018-10-26)
parents 28e430be4305
children 6e8b1bcb30e2
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"
jozee@2674 10 WEB_SITE="http://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 }