wok view ii/receipt @ rev 24926

updated mpc-library (1.1.0 -> 1.2.1)
author Hans-G?nter Theisgen
date Wed Apr 13 14:06:53 2022 +0100 (2022-04-13)
parents 703164dd5310
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ii"
4 VERSION="1.9"
5 CATEGORY="network"
6 SHORT_DESC="Minimalist IRC client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tools.suckless.org/ii/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gcc83"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/usr/local|/usr|' config.mk
29 export CC=gcc-83
30 export CXX=g++-83
32 make clean &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }