wok-next annotate gdb/receipt @ rev 18943

iptraf: deal with /var/run on post_install / post_remove
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 03 11:40:10 2016 +0200 (2016-03-03)
parents dead8955c3ca
children eb78b866a5de
rev   line source
erjo@1727 1 # SliTaz package receipt.
erjo@1727 2
erjo@1727 3 PACKAGE="gdb"
pankso@16316 4 VERSION="7.7"
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"
pankso@16316 12 HOST_ARCH="i486 arm"
erjo@1727 13
pascal@15000 14 DEPENDS="ncurses expat glibc-dev"
pascal@15000 15 BUILD_DEPENDS="ncurses-dev readline-dev"
pascal@15000 16
erjo@1727 17 # Rules to configure and make the package.
erjo@1727 18 compile_rules()
erjo@1727 19 {
pankso@16316 20 ./configure \
erjo@4818 21 --with-python=no \
pankso@16316 22 --disable-werror \
pankso@16316 23 $CONFIGURE_ARGS && \
pankso@16316 24 make && make 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