wok-next view xget/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }