wok-next annotate sdcc/receipt @ rev 21274

gejengel: inserted modification of configure files from cooking
author Hans-G?nter Theisgen
date Sat Dec 07 15:42:09 2019 +0100 (2019-12-07)
parents a244e109372e
children 6a66c15a4531
rev   line source
pascal@11212 1 # SliTaz package receipt.
pascal@11212 2
pascal@11212 3 PACKAGE="sdcc"
pascal@20258 4 VERSION="3.6.0"
pascal@11212 5 CATEGORY="development"
al@21020 6 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08"
pascal@11212 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://sdcc.sourceforge.net/"
al@21020 10
pascal@11212 11 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
al@21020 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@21020 13
al@21020 14 BUILD_DEPENDS="flex boost-dev boost-graph gputils texinfo"
pascal@20258 15 COOKOPTS="!strip"
pascal@15002 16
al@21020 17 compile_rules() {
pascal@20258 18 #sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
pascal@20258 19 #sed -i 's/ -u$//' device/lib/Makefile*
pascal@13037 20
al@21020 21 ./configure \
al@21020 22 --prefix=/usr \
al@21020 23 --infodir=/usr/share/info \
al@21020 24 --mandir=/usr/share/man \
al@21020 25 $CONFIGURE_ARGS &&
pascal@11212 26 make &&
al@21020 27 make DESTDIR=$install install
pascal@11212 28 }
pascal@11212 29
al@21020 30 genpkg_rules() {
pascal@13730 31 cp -a $install/usr $fs
al@21020 32 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
pascal@11212 33 }