wok-6.x annotate make/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | 7619313c009f |
children |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="make" |
Hans-G?nter@23162 | 4 VERSION="4.3" |
pankso@204 | 5 CATEGORY="development" |
pankso@9 | 6 SHORT_DESC="GNU Make to generate executables and other files from source." |
pankso@9 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@21414 | 9 WEB_SITE="https://www.gnu.org/software/make/" |
Hans-G?nter@21414 | 10 |
pankso@9 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9 | 13 |
pankso@9660 | 14 DEPENDS="glibc-base" |
pankso@12855 | 15 BUILD_DEPENDS="" |
slaxemulator@10414 | 16 |
Hans-G?nter@21414 | 17 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@21414 | 18 |
pascal@24336 | 19 # What is the latest version available today? |
pascal@24336 | 20 current_version() |
pascal@24336 | 21 { |
pascal@24336 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 24 } |
pascal@24336 | 25 |
pankso@9 | 26 # Rules to configure and make the package. |
pankso@9 | 27 compile_rules() |
pankso@9 | 28 { |
pankso@10044 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21414 | 30 make -j 1 && |
Hans-G?nter@21414 | 31 make install |
pankso@9 | 32 } |
pankso@9 | 33 |
pankso@9 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 35 genpkg_rules() |
pankso@9 | 36 { |
pankso@9659 | 37 mkdir -p $fs/usr |
Hans-G?nter@23162 | 38 cp -a $install/usr/bin $fs/usr |
pankso@9 | 39 } |