wok annotate cgdb/receipt @ rev 20046

Add Turbine v1.0 by The SliTaz DevTeam.
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 31 05:31:36 2017 -0300 (2017-08-31)
parents 94aa6ab5462c
children 2ddc57b297a5
rev   line source
erjo@4817 1 # SliTaz package receipt.
erjo@4817 2
erjo@4817 3 PACKAGE="cgdb"
erjo@4817 4 VERSION="0.6.5"
erjo@4817 5 CATEGORY="development"
erjo@4817 6 SHORT_DESC="Curses interface for GDB"
erjo@4817 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@4817 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4817 10 WEB_SITE="http://cgdb.sourceforge.net/"
erjo@4817 11 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
jozee@4933 12 TAGS="debugger"
pankso@10393 13 CROSS="error: cannot check for file existence when cross compiling"
erjo@4817 14
pankso@9915 15 DEPENDS="gdb ncurses readline"
pankso@9915 16 BUILD_DEPENDS="ncurses-dev readline-dev"
pankso@9915 17
erjo@4817 18 # Rules to configure and make the package.
erjo@4817 19 compile_rules()
erjo@4817 20 {
pankso@10393 21 ./configure \
pankso@10393 22 --build=$HOST_SYSTEM \
pankso@10393 23 --host=$HOST_SYSTEM &&
slaxemulator@10289 24 make && make install
erjo@4817 25 }
erjo@4817 26
erjo@4817 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4817 28 genpkg_rules()
erjo@4817 29 {
erjo@4817 30 mkdir -p $fs/usr
pascal@15579 31 cp -a $install/usr/bin $fs/usr
erjo@4817 32 }
erjo@4817 33