wok annotate liblognorm/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents 394ef0611eb5
children c86e41198e76
rev   line source
erjo@11416 1 # SliTaz package receipt.
erjo@11416 2
erjo@11416 3 PACKAGE="liblognorm"
pascal@15151 4 VERSION="0.3.7"
erjo@11416 5 CATEGORY="system-tools"
erjo@11416 6 SHORT_DESC="A log normalization library. "
erjo@11416 7 MAINTAINER="erjo@slitaz.org"
pascal@15151 8 LICENSE="LGPL2.1"
erjo@11416 9 WEB_SITE="http://www.liblognorm.com/download/"
erjo@11416 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11416 11 WGET_URL="http://www.liblognorm.com/files/download/$TARBALL"
erjo@11416 12
erjo@11416 13 DEPENDS="libee libestr"
pascal@15117 14 BUILD_DEPENDS="libestr-dev libee-dev automake"
erjo@11416 15
erjo@11416 16 # Rules to configure and make the package.
erjo@11416 17 compile_rules()
erjo@11416 18 {
slaxemulator@11421 19 cd $src
erjo@11416 20 patch -p 1 < $stuff/liblognorm-build-fix.patch
erjo@11416 21 ./configure $CONFIGURE_ARGS && make && make install
erjo@11416 22 }
erjo@11416 23
erjo@11416 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11416 25 genpkg_rules()
erjo@11416 26 {
erjo@11416 27 mkdir -p $fs/usr/lib
erjo@11416 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@11416 29 cp -a $install/usr/bin $fs/usr
erjo@11416 30
erjo@11416 31 }