wok-current annotate gdb/receipt @ rev 15797
Up: clex (4.6.patch6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 19 14:41:49 2014 +0100 (2014-01-19) |
parents | 754670062927 |
children | e5abf3dfdfb0 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
slaxemulator@13079 | 4 VERSION="7.4.1" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
rcx@5984 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1727 | 10 WEB_SITE="http://www.gnu.org/software/gdb/" |
rcx@5984 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@1727 | 12 |
pascal@15000 | 13 DEPENDS="ncurses expat glibc-dev" |
pascal@15000 | 14 BUILD_DEPENDS="ncurses-dev readline-dev" |
pascal@15000 | 15 |
erjo@1727 | 16 # Rules to configure and make the package. |
erjo@1727 | 17 compile_rules() |
erjo@1727 | 18 { |
erjo@1727 | 19 cd $src |
erjo@4818 | 20 ./configure --prefix=/usr \ |
erjo@4818 | 21 --with-python=no \ |
erjo@4818 | 22 --disable-werror $CONFIGURE_ARGS && \ |
pascal@15265 | 23 make && |
pascal@15224 | 24 make DESTDIR=$DESTDIR install |
erjo@1727 | 25 } |
erjo@1727 | 26 |
erjo@1727 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 28 genpkg_rules() |
erjo@1727 | 29 { |
erjo@1727 | 30 mkdir -p $fs/usr |
slaxemulator@13079 | 31 cp -a $install/usr/bin $fs/usr |
erjo@1727 | 32 } |
erjo@1727 | 33 |