wok view cgdb/receipt @ rev 23802

created recipe for pango-typelib
author Hans-G?nter Theisgen
date Sun May 24 07:28:37 2020 +0100 (2020-05-24)
parents 2ddc57b297a5
children 370da83187ab
line source
1 # SliTaz package receipt.
3 PACKAGE="cgdb"
4 VERSION="0.7.1"
5 CATEGORY="development"
6 TAGS="debugger"
7 SHORT_DESC="Curses interface for GDB."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://cgdb.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://cgdb.me/files/$TARBALL"
15 DEPENDS="gcc83-lib-base gdb ncurses readline"
16 BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"
18 CROSS="error: cannot check for file existence when cross compiling"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 --build=$HOST_SYSTEM \
27 --host=$HOST_SYSTEM &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }