wok annotate socat/receipt @ rev 25516

memtest64: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 11:36:17 2023 +0000 (21 months ago)
parents f76ed41ec985
children
rev   line source
pascal@2059 1 # SliTaz package receipt.
pascal@2059 2
pascal@2059 3 PACKAGE="socat"
Hans-G?nter@23657 4 VERSION="2.0.0-b9"
pascal@2059 5 CATEGORY="network"
pascal@2059 6 SHORT_DESC="Reads and writes data across network connections."
pascal@2059 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@21927 9 WEB_SITE="http://www.dest-unreach.org/$PACKAGE/"
Hans-G?nter@21927 10
pascal@2059 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2059 12 WGET_URL="${WEB_SITE}download/$TARBALL"
Hans-G?nter@21927 13
Hans-G?nter@21927 14 BUILD_DEPENDS="ncurses-dev openssl-dev"
Hans-G?nter@21927 15 DEPENDS="libwrap ncurses openssl readline"
Hans-G?nter@21927 16
yuripourre@17680 17 HOST_ARCH="i486"
pascal@15000 18
pascal@24427 19 # What is the latest version available today?
pascal@24427 20 current_version()
pascal@24427 21 {
pascal@24427 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 24 }
pascal@24427 25
pascal@2059 26 # Rules to configure and make the package.
pascal@2059 27 compile_rules()
pascal@2059 28 {
Hans-G?nter@23657 29 ./configure \
Hans-G?nter@23657 30 --prefix=/usr \
Hans-G?nter@23657 31 $CONFIGURE_ARGS &&
pascal@2059 32 make &&
pascal@15000 33 make DESTDIR=$DESTDIR install
pascal@2059 34 }
pascal@2059 35
pascal@2059 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2059 37 genpkg_rules()
pascal@2059 38 {
pascal@2059 39 mkdir -p $fs/usr
Hans-G?nter@23657 40 cp -a $install/usr/bin $fs/usr
pascal@2059 41 }