wok annotate liblognorm/receipt @ rev 21605
Up opus (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 13:26:20 2019 +0200 (2019-05-23) |
parents | c86e41198e76 |
children | ede1d184d5c5 |
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" |
al@20422 | 6 SHORT_DESC="A log normalization library." |
erjo@11416 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15151 | 8 LICENSE="LGPL2.1" |
pascal@21145 | 9 WEB_SITE="https://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 } |