wok-6.x annotate iniparser/receipt @ rev 24095

Add jpegoptim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 01 14:04:21 2021 +0000 (2021-09-01)
parents ba731f2b3f4b
children ac8ca9758df1
rev   line source
erjo@13409 1 # SliTaz package receipt.
erjo@13409 2
erjo@13409 3 PACKAGE="iniparser"
Hans-G?nter@21049 4 VERSION="4.1"
erjo@13409 5 CATEGORY="system-tools"
erjo@13409 6 SHORT_DESC="Free stand-alone ini file parsing library."
erjo@13409 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="MIT"
Hans-G?nter@21049 9 WEB_SITE="https://github.com/ndevilla/iniparser/"
Hans-G?nter@21049 10
erjo@13409 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21049 12 WGET_URL="https://github.com/ndevilla/$PACKAGE/archive/v$VERSION.tar.gz"
erjo@13409 13
erjo@13409 14 DEPENDS=""
erjo@13409 15 BUILD_DEPENDS=""
erjo@13409 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
erjo@13409 23 # Rules to configure and make the package.
erjo@13409 24 compile_rules()
erjo@13409 25 {
erjo@13409 26 make
erjo@13409 27 }
erjo@13409 28
erjo@13409 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13409 30 genpkg_rules()
erjo@13409 31 {
erjo@13409 32 mkdir -p $fs/usr/lib
erjo@13409 33 cp -a $src/*.so* $fs/usr/lib
erjo@13409 34 }