wok annotate gdb-python/receipt @ rev 23850
fontconfig-dev: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 15 10:00:28 2020 +0000 (2020-06-15) |
parents | e5abf3dfdfb0 |
children | 71360a13cd94 |
rev | line source |
---|---|
erjo@4819 | 1 # SliTaz package receipt. |
erjo@4819 | 2 |
erjo@4819 | 3 PACKAGE="gdb-python" |
pankso@16316 | 4 VERSION="7.7" |
erjo@4819 | 5 CATEGORY="development" |
erjo@4819 | 6 SHORT_DESC="The GNU Project Debugger with Python support." |
erjo@4819 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4820 | 9 SOURCE="gdb" |
slaxemulator@11008 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4819 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
slaxemulator@11008 | 12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
erjo@4819 | 13 PROVIDE="gdb" |
erjo@4819 | 14 |
pascal@15000 | 15 DEPENDS="ncurses expat glibc-dev python" |
pascal@15000 | 16 BUILD_DEPENDS="ncurses-dev python-dev" |
pascal@15000 | 17 |
erjo@4819 | 18 # Rules to configure and make the package. |
erjo@4819 | 19 compile_rules() |
erjo@4819 | 20 { |
pankso@16316 | 21 ./configure \ |
pankso@16316 | 22 --disable-werror \ |
pankso@16316 | 23 $CONFIGURE_ARGS && |
pankso@16316 | 24 make $MAKEFLAGS && make install |
erjo@4819 | 25 } |
erjo@4819 | 26 |
erjo@4819 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4819 | 28 genpkg_rules() |
erjo@4819 | 29 { |
pascal@18163 | 30 mkdir -p $fs/usr/share |
slaxemulator@13079 | 31 cp -a $install/usr/bin $fs/usr |
pascal@18163 | 32 cp -a $install/usr/lib $fs/usr |
pascal@18163 | 33 cp -a $install/usr/share/gdb $fs/usr/share |
erjo@4819 | 34 } |