wok diff uget/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (19 months ago)
parents ca38ecbe9976
children b81ceff0b056
line diff
     1.1 --- a/uget/receipt	Wed Jun 22 17:23:49 2022 +0000
     1.2 +++ b/uget/receipt	Sat Apr 22 14:54:15 2023 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="uget"
     1.7 -VERSION="2.2.1"
     1.8 +VERSION="2.2.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Download manager using gtk+ and libcurl."
    1.11  MAINTAINER="devl547@gmail.com"
    1.12 @@ -9,8 +9,9 @@
    1.13  WEB_SITE="https://web.archive.org/web/20220621150801/https://sourceforge.net/projects/urlget/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="$SF_MIRROR/urlget/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/urlget/$PACKAGE-$VERSION-1.tar.gz"
    1.18  
    1.19 +SUGGESTED="uget-lang"
    1.20  DEPENDS="curl glib gtk+3 pcre"
    1.21  BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
    1.22  
    1.23 @@ -24,25 +25,24 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 +	# 2.2.3 unrecognised:
    1.28 +	#	--with-gtk3
    1.29 +
    1.30  	./configure			\
    1.31  		--prefix=/usr		\
    1.32  		--sysconfdir=/etc	\
    1.33  		--disable-gstreamer	\
    1.34  		--disable-notify	\
    1.35 -		--with-gtk3		\
    1.36  		$CONFIGURE_ARGS		\
    1.37  		LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
    1.38 -	make -j2 -s &&
    1.39 -	make DESTDIR=$DESTDIR install
    1.40 +	make -s &&
    1.41 +	make install DESTDIR=$DESTDIR
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr/share
    1.48 -
    1.49 -	cp -a $install/usr/bin			$fs/usr/
    1.50 -	cp -a $install/usr/share/applications/	$fs/usr/share
    1.51 -	cp -a $install/usr/share/icons/		$fs/usr/share
    1.52 -	cp -a $install/usr/share/sounds/	$fs/usr/share
    1.53 +	cook_copy_folders	bin
    1.54 +	cook_copy_folders	icons
    1.55 +	cook_copy_folders	sounds
    1.56  }