wok-6.x annotate liblognorm/receipt @ rev 12810
readline: ARM want it :-) so we can cross compile bash
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 20 03:01:49 2012 +0200 (2012-05-20) |
parents | d7bfc4b2a62b |
children | 394ef0611eb5 |
rev | line source |
---|---|
erjo@11416 | 1 # SliTaz package receipt. |
erjo@11416 | 2 |
erjo@11416 | 3 PACKAGE="liblognorm" |
erjo@11416 | 4 VERSION="0.3.2" |
erjo@11416 | 5 CATEGORY="system-tools" |
erjo@11416 | 6 SHORT_DESC="A log normalization library. " |
erjo@11416 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@11416 | 8 WEB_SITE="http://www.liblognorm.com/download/" |
erjo@11416 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11416 | 10 WGET_URL="http://www.liblognorm.com/files/download/$TARBALL" |
erjo@11416 | 11 |
erjo@11416 | 12 DEPENDS="libee libestr" |
erjo@11416 | 13 BUILD_DEPENDS="libestr-dev libee-dev" |
erjo@11416 | 14 |
erjo@11416 | 15 # Rules to configure and make the package. |
erjo@11416 | 16 compile_rules() |
erjo@11416 | 17 { |
slaxemulator@11421 | 18 cd $src |
erjo@11416 | 19 patch -p 1 < $stuff/liblognorm-build-fix.patch |
erjo@11416 | 20 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11416 | 21 } |
erjo@11416 | 22 |
erjo@11416 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11416 | 24 genpkg_rules() |
erjo@11416 | 25 { |
erjo@11416 | 26 mkdir -p $fs/usr/lib |
erjo@11416 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11416 | 28 cp -a $install/usr/bin $fs/usr |
erjo@11416 | 29 |
erjo@11416 | 30 } |