wok-next annotate xget/receipt @ rev 20365
palemoon: disable SSE2, up get-palemoon.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 24 08:37:29 2017 +0100 (2017-11-24) |
parents | 23c3aed67cd9 |
children | 1f8d622f0165 |
rev | line source |
---|---|
pascal@11204 | 1 # SliTaz package receipt. |
pascal@11204 | 2 |
pascal@11204 | 3 PACKAGE="xget" |
pascal@11204 | 4 SOURCE="xcpu" |
pascal@11204 | 5 VERSION="1.2.3" |
pascal@11204 | 6 CATEGORY="network" |
pascal@11204 | 7 SHORT_DESC="Scalable file-transfer agent." |
pascal@11204 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="MIT GPL" |
pascal@11204 | 10 TARBALL="${SOURCE}1-$VERSION.tar.gz" |
pascal@11204 | 11 WEB_SITE="http://xcpu.sourceforge.net/xget" |
pascal@11204 | 12 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL" |
pascal@11204 | 13 |
pascal@11204 | 14 DEPENDS="" |
pascal@20130 | 15 BUILD_DEPENDS="openssl openssl-dev elfutils-dev zlib-dev" |
pascal@11204 | 16 |
pascal@11204 | 17 # Rules to configure and make the package. |
pascal@11204 | 18 compile_rules() |
pascal@11204 | 19 { |
pascal@20130 | 20 sed -i 's|<stdio.h>|&\n#include <sys/resource.h>|' xcpufs/xcpufs.c |
pascal@11204 | 21 make -j 1 && |
pascal@11204 | 22 make INSTALLPREFIX=$DESTDIR/usr install |
pascal@11204 | 23 } |
pascal@11204 | 24 |
pascal@11204 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@11469 | 26 genpkg_rules() |
pascal@11204 | 27 { |
pascal@11204 | 28 mkdir -p $fs/usr/sbin |
pascal@15601 | 29 cp -a $install/usr/sbin/xget $fs/usr/sbin |
pascal@11204 | 30 } |