wok annotate gdb/receipt @ rev 4414
xarchine: add tazpkg/lzma support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 21 19:02:33 2009 +0200 (2009-10-21) |
parents | 987853b8719d |
children | bda3fa7fda26 |
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 |
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 |