wok-6.x diff gdb/receipt @ rev 1830

dbus: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 09 20:16:07 2008 +0000 (2008-12-09)
parents
children 987853b8719d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gdb/receipt	Tue Dec 09 20:16:07 2008 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gdb"
     1.7 +VERSION="6.8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The GNU Project Debugger."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.gnu.org/software/gdb/"
    1.15 +WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr $CONFIGURE_ARGS && \
    1.22 +	make && make DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +}
    1.31 +