wok-current annotate gdb/receipt @ rev 1727
Add: gdb, gdb-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Nov 19 23:52:52 2008 +0100 (2008-11-19) |
parents | |
children | 987853b8719d |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
erjo@1727 | 4 VERSION="6.8" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1727 | 8 DEPENDS="ncurses" |
erjo@1727 | 9 BUILD_DEPENDS="ncurses-dev" |
erjo@1727 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1727 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
erjo@1727 | 12 WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL" |
erjo@1727 | 13 |
erjo@1727 | 14 # Rules to configure and make the package. |
erjo@1727 | 15 compile_rules() |
erjo@1727 | 16 { |
erjo@1727 | 17 cd $src |
erjo@1727 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && \ |
erjo@1727 | 19 make && make DESTDIR=$PWD/_pkg install |
erjo@1727 | 20 } |
erjo@1727 | 21 |
erjo@1727 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 23 genpkg_rules() |
erjo@1727 | 24 { |
erjo@1727 | 25 mkdir -p $fs/usr |
erjo@1727 | 26 cp -a $_pkg/usr/bin $fs/usr |
erjo@1727 | 27 } |
erjo@1727 | 28 |