wok diff libzdb/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
children dfdd914deb97
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libzdb/receipt	Thu May 23 13:26:20 2019 +0200
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libzdb"
     1.7 +VERSION="3.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Zild Database Library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.tildeslash.com/libzdb/"
    1.14 +WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL"
    1.15 +#HOST_ARCH="i486 arm"
    1.16 +
    1.17 +DEPENDS="sqlite"
    1.18 +BUILD_DEPENDS="sqlite-dev"
    1.19 +
    1.20 +# Handle cross comilation
    1.21 +case "$ARCH" in
    1.22 +	arm) ;;
    1.23 +esac
    1.24 +	
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--without-postgresql \
    1.31 +		--without-mysql \
    1.32 +		--enable-optimized \
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make && make install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/lib
    1.41 +	cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
    1.42 +}
    1.43 +