wok annotate libee/receipt @ rev 19940
liboping: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 30 17:53:19 2017 +0200 (2017-04-30) |
parents | 6c3718ca17b6 |
children | e66efc062996 |
rev | line source |
---|---|
erjo@11414 | 1 # SliTaz package receipt. |
erjo@11414 | 2 |
erjo@11414 | 3 PACKAGE="libee" |
erjo@11414 | 4 VERSION="0.3.2" |
erjo@11414 | 5 CATEGORY="system-tools" |
erjo@11414 | 6 SHORT_DESC="An Event Expression Library inspired by CEE" |
erjo@11414 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
erjo@11414 | 9 WEB_SITE="http://www.libee.org/download/" |
erjo@11414 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11414 | 11 WGET_URL="http://www.libee.org/files/download/$TARBALL" |
erjo@11414 | 12 |
erjo@11414 | 13 DEPENDS="libestr" |
pascal@15117 | 14 BUILD_DEPENDS="libestr-dev automake" |
erjo@11414 | 15 |
erjo@11414 | 16 # Rules to configure and make the package. |
erjo@11414 | 17 compile_rules() |
erjo@11414 | 18 { |
slaxemulator@11422 | 19 cd $src |
erjo@11414 | 20 # Patch from http://www.gossamer-threads.com/lists/rsyslog/users/4600 |
erjo@11414 | 21 patch -p 1 < $stuff/libee-build-fix.patch |
erjo@11414 | 22 ./configure $CONFIGURE_ARGS \ |
pascal@15474 | 23 --disable-testbench && make -j 1 && make install |
erjo@11414 | 24 } |
erjo@11414 | 25 |
erjo@11414 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11414 | 27 genpkg_rules() |
erjo@11414 | 28 { |
erjo@11414 | 29 mkdir -p $fs/usr/lib |
erjo@11414 | 30 |
erjo@11414 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11414 | 32 cp -a $install/usr/sbin $fs/usr |
erjo@11414 | 33 } |