wok view scons/receipt @ rev 24097

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 17:18:37 2021 +0000 (2021-09-13)
parents a8e75e9bae6c
children e919c5a2742d
line source
1 # SliTaz package receipt.
3 PACKAGE="scons"
4 VERSION="2.3.4"
5 CATEGORY="development"
6 SHORT_DESC="SCons is an Open Source software construction tool."
7 MAINTAINER="chadi.elahmad@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.scons.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR/usr/share
20 python setup.py install \
21 --standard-lib \
22 --prefix=$DESTDIR/usr
23 mv $DESTDIR/usr/man $DESTDIR/usr/share
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }