wok-next view xorg-xcalc/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xcalc"
4 VERSION="1.0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Scientific calculator for X"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki"
11 TARBALL="xcalc-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 BUILD_DEPENDS="xorg-util-macros xorg-libXaw-dev xorg-libXt-dev xorg-libX11-dev \
15 xorg-xproto"
16 PKG_RULE="std"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy @std
33 DEPENDS="xorg-libX11 xorg-libXaw xorg-libXt"
34 CONFIG_FILES="/etc/X11/app-defaults/XCalc /etc/X11/app-defaults/XCalc-color"
35 }