wok diff popt/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents 5d79829fa876
children 5db546345599
line diff
     1.1 --- a/popt/receipt	Wed Jul 07 17:56:16 2021 +0000
     1.2 +++ b/popt/receipt	Thu Nov 17 12:13:24 2022 +0000
     1.3 @@ -1,14 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="popt"
     1.7 -VERSION="1.16"
     1.8 +VERSION="1.18"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Library for parsing command line options."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/rpm-software-management/popt"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://directory.fsf.org/project/popt/"
    1.17 -WGET_URL="http://rpm5.org/files/popt/$TARBALL"
    1.18 +WGET_URL="https://github.com/rpm-software-management/$PACKAGE/archive/refs/tags/$PACKAGE-$VERSION-release.tar.gz"
    1.19 +
    1.20 +SUGGESTED="popt-lang"
    1.21 +BUILD_DEPENDS="automake libtool"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25  current_version()
    1.26 @@ -20,13 +25,14 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 +	./autogen.sh &&
    1.31  	./configure $CONFIGURE_ARGS &&
    1.32 -	make && make install
    1.33 +	make &&
    1.34 +	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 +	cook_copy_files	*.so*
    1.43  }