wok-current annotate bacon/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 01119cbefbc3
children
rev   line source
pascal@20820 1 # SliTaz package receipt.
pascal@20820 2
pascal@20820 3 PACKAGE="bacon"
pascal@25436 4 VERSION="4.5"
pascal@20820 5 CATEGORY="development"
Hans-G?nter@22528 6 TAGS="basic C"
Hans-G?nter@22528 7 SHORT_DESC="Basic to C converter."
pascal@20820 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20820 9 LICENSE="MIT"
Hans-G?nter@24357 10 WEB_SITE="https://www.basic-converter.org/"
Hans-G?nter@22528 11
pascal@20820 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25498 13 WGET_URL="${WEB_SITE}museum/$TARBALL"
pascal@20820 14
pascal@20820 15 DEPENDS="gtk+"
pascal@20820 16 BUILD_DEPENDS="gtk+-dev"
pascal@20820 17
pascal@24373 18 # What is the latest version available today?
pascal@24373 19 current_version()
pascal@24373 20 {
pascal@24373 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24373 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24373 23 }
pascal@24373 24
pascal@20820 25 # Rules to configure and make the package.
pascal@20820 26 compile_rules()
pascal@20820 27 {
Hans-G?nter@22528 28 ./configure \
Hans-G?nter@22528 29 --prefix=/usr \
Hans-G?nter@22528 30 --mandir=/usr/share/man \
pascal@20820 31 $CONFIGURE_ARGS &&
pascal@20820 32 make -j 1 &&
Hans-G?nter@24357 33 make DESTDIR=$DESTDIR install
Hans-G?nter@24357 34 # Do not remove "-j 1"
pascal@20820 35 }
pascal@20820 36
pascal@20820 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20820 38 genpkg_rules()
pascal@20820 39 {
Hans-G?nter@22528 40 cp -a $install/usr $fs
Hans-G?nter@24357 41 rm -rf $fs/usr/share/man
Hans-G?nter@24357 42 rm -rf $fs/usr/share/BaCon/documentation
pascal@20820 43 }