wok annotate cgdb/receipt @ rev 23937

qemu: add X86_64 efi bios
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 11:24:50 2020 +0000 (2020-09-12)
parents 2ddc57b297a5
children 370da83187ab
rev   line source
erjo@4817 1 # SliTaz package receipt.
erjo@4817 2
erjo@4817 3 PACKAGE="cgdb"
Hans-G?nter@22589 4 VERSION="0.7.1"
erjo@4817 5 CATEGORY="development"
Hans-G?nter@22589 6 TAGS="debugger"
Hans-G?nter@22589 7 SHORT_DESC="Curses interface for GDB."
erjo@4817 8 MAINTAINER="erjo@slitaz.org"
pascal@15579 9 LICENSE="GPL2"
Hans-G?nter@22589 10 WEB_SITE="http://cgdb.sourceforge.net/"
Hans-G?nter@22589 11
erjo@4817 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22590 13 WGET_URL="https://cgdb.me/files/$TARBALL"
Hans-G?nter@22589 14
Hans-G?nter@22589 15 DEPENDS="gcc83-lib-base gdb ncurses readline"
Hans-G?nter@22589 16 BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"
Hans-G?nter@22589 17
pankso@10393 18 CROSS="error: cannot check for file existence when cross compiling"
erjo@4817 19
erjo@4817 20 # Rules to configure and make the package.
erjo@4817 21 compile_rules()
erjo@4817 22 {
Hans-G?nter@22589 23 ./configure \
Hans-G?nter@22589 24 CC=gcc-83 \
Hans-G?nter@22589 25 CXX=g++-83 \
Hans-G?nter@22589 26 --build=$HOST_SYSTEM \
Hans-G?nter@22589 27 --host=$HOST_SYSTEM &&
Hans-G?nter@22589 28 make &&
Hans-G?nter@22589 29 make install
erjo@4817 30 }
erjo@4817 31
erjo@4817 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4817 33 genpkg_rules()
erjo@4817 34 {
erjo@4817 35 mkdir -p $fs/usr
Hans-G?nter@22589 36 cp -a $install/usr/bin $fs/usr
erjo@4817 37 }