wok-next view xget/receipt @ rev 20816

palemoon: try 2: fatal error: sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 19:56:44 2018 +0000 (2018-06-13)
parents c649c7c1a5b0
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xget"
4 VERSION="1.2.3"
5 CATEGORY="network"
6 SHORT_DESC="Scalable file-transfer agent"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT GPL"
9 WEB_SITE="http://xcpu.sourceforge.net/xget/"
11 TARBALL="xcpu1-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/xcpu/$TARBALL"
14 BUILD_DEPENDS="openssl10-dev elfutils-dev zlib-dev"
16 compile_rules() {
17 sed -i '/^CFLAGS/ s|$| -I/usr/include/openssl-1.0|' \
18 libxauth/Makefile statfs/Makefile
19 sed -i 's|<stdio.h>|&\n#include <sys/resource.h>|' xcpufs/xcpufs.c
21 make -j 1 &&
22 make INSTALLPREFIX=$DESTDIR/usr install || return 1
24 cook_pick_docs doc/*.pdf
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="zlib"
30 }