wok-next view cgdb/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
parents | f12f31c20a9f |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cgdb"
4 VERSION="0.6.5"
5 CATEGORY="development"
6 SHORT_DESC="Curses interface for GDB"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cgdb.sourceforge.net/"
10 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
11 TAGS="debugger"
12 CROSS="error: cannot check for file existence when cross compiling"
14 DEPENDS="gdb ncurses readline"
15 BUILD_DEPENDS="ncurses-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }