wok annotate cgdb/receipt @ rev 14663
ecore: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:02 2013 +0200 (2013-06-06) |
parents | f12f31c20a9f |
children | eb8067417980 |
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" |
erjo@4817 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4817 | 9 WEB_SITE="http://cgdb.sourceforge.net/" |
erjo@4817 | 10 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL" |
jozee@4933 | 11 TAGS="debugger" |
pankso@10393 | 12 CROSS="error: cannot check for file existence when cross compiling" |
erjo@4817 | 13 |
pankso@9915 | 14 DEPENDS="gdb ncurses readline" |
pankso@9915 | 15 BUILD_DEPENDS="ncurses-dev readline-dev" |
pankso@9915 | 16 |
erjo@4817 | 17 # Rules to configure and make the package. |
erjo@4817 | 18 compile_rules() |
erjo@4817 | 19 { |
pankso@10393 | 20 ./configure \ |
pankso@10393 | 21 --build=$HOST_SYSTEM \ |
pankso@10393 | 22 --host=$HOST_SYSTEM && |
slaxemulator@10289 | 23 make && make install |
erjo@4817 | 24 } |
erjo@4817 | 25 |
erjo@4817 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4817 | 27 genpkg_rules() |
erjo@4817 | 28 { |
erjo@4817 | 29 mkdir -p $fs/usr |
erjo@4817 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@4817 | 31 } |
erjo@4817 | 32 |