wok-4.x annotate gdb/receipt @ rev 3522
tazdev+tazpkg-web: Tiny fix and clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 21 03:56:11 2009 +0200 (2009-06-21) |
parents | 38eb7e9a9fef |
children | 329063f300c3 |
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" |
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 |
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 |