wok-next diff gdbm/receipt @ rev 19702

unionfs-fuse: do not define function twice (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 26 12:04:09 2017 +0200 (2017-04-26)
parents e4cda1000ec7
children 9a17d981d0f7
line diff
     1.1 --- a/gdbm/receipt	Sun Mar 09 16:31:15 2014 +0100
     1.2 +++ b/gdbm/receipt	Wed Apr 26 12:04:09 2017 +0200
     1.3 @@ -1,33 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gdbm"
     1.7 -VERSION="1.10"
     1.8 +VERSION="1.12"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="GNU database indexing library."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://www.gnu.org/software/gdbm"
    1.15 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16 +WEB_SITE="https://www.gnu.org/software/gdbm"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.21 +
    1.22  DEPENDS=""
    1.23 -BUILD_DEPENDS=""
    1.24 +BUILD_DEPENDS="gettext"
    1.25 +SPLIT="gdbm-tools"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	sed -i -e 's/BINOWN = bin/BINOWN = root/' \
    1.31 -		-e 's/BINGRP = bin/BINGRP = root/' Makefile.in
    1.32 -	./configure $CONFIGURE_ARGS &&
    1.33 -	make &&
    1.34 -	make INSTALL_ROOT=$DESTDIR install
    1.35 +	./configure \
    1.36 +		--disable-static \
    1.37 +		--enable-libgdbm-compat \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make && make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/lib
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 +	cook_copy_files *.so*
    1.48  }
    1.49 -