wok-next view gc/receipt @ rev 20843
cookutils: up (1078)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 21 12:59:35 2018 +0300 (2018-06-21) |
parents | 30af4e7aa239 |
children | d958fec46c9f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gc"
4 VERSION="7.2"
5 CATEGORY="development"
6 SHORT_DESC="A garbage collector for C and C++"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT GPL"
9 WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
14 SPLIT="gc-dev"
16 compile_rules() {
17 ./configure \
18 --enable-cplusplus \
19 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$DESTDIR install || return 1
24 # libatomic_ops
25 cd $src/libatomic_ops*
26 ./configure \
27 --prefix=/usr \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 gc) copy @std;;
37 *-dev) copy @dev;;
38 esac
39 }