wok diff portmap/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (7 days ago)
parents affc6fdda56c
children
line diff
     1.1 --- a/portmap/receipt	Mon May 16 19:42:25 2022 +0000
     1.2 +++ b/portmap/receipt	Wed Nov 13 15:24:31 2024 +0100
     1.3 @@ -13,11 +13,16 @@
     1.4  DEPENDS="libwrap"
     1.5  BUILD_DEPENDS="libwrap-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
    1.11 +	sed '/portmap-/!d;s|.*portmap-||;s|/.*||'
    1.12 +}
    1.13 +
    1.14  # rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 -	cd $src
    1.18 -	
    1.19  	# Build 
    1.20  	# Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
    1.21  	NO_TCP_WRAPPER=1  make
    1.22 @@ -35,7 +40,7 @@
    1.23  	install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
    1.24  }
    1.25  
    1.26 -
    1.27 +# Pre and post install commands for Tazpkg.
    1.28  post_install()
    1.29  {
    1.30  	# Post message when installing.