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