wok-next annotate gdb/receipt @ rev 12455
Up osip (3.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 20:47:41 2012 +0200 (2012-04-21) |
parents | f5709a5b439d |
children | a2066d3c1f8b |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
slaxemulator@11007 | 4 VERSION="7.3.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@4818 | 9 BUILD_DEPENDS="ncurses-dev readline-dev" |
rcx@5984 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1727 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
rcx@5984 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$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@4818 | 18 ./configure --prefix=/usr \ |
erjo@4818 | 19 --with-python=no \ |
erjo@4818 | 20 --disable-werror $CONFIGURE_ARGS && \ |
gokhlayeh@11574 | 21 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
erjo@1727 | 22 } |
erjo@1727 | 23 |
erjo@1727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 25 genpkg_rules() |
erjo@1727 | 26 { |
erjo@1727 | 27 mkdir -p $fs/usr |
erjo@1727 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@1727 | 29 } |
erjo@1727 | 30 |