wok-6.x annotate gdb/receipt @ rev 4696
Up: gdb (7.0.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 02 10:00:50 2010 +0100 (2010-01-02) |
parents | 329063f300c3 |
children | 35f5a5893111 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
erjo@4696 | 4 VERSION="7.0.1" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2485 | 8 DEPENDS="ncurses expat glibc-dev" |
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 |
pascal@4268 | 18 ./configure --disable-werror --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 |