wok-next view xorg-libSM/receipt @ rev 20441
linux, linux-dev: fix mess with i386|i486, update 32bit config
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 05:41:11 2018 +0200 (2018-02-24) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libSM"
4 VERSION="1.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Session Management library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 HOST_ARCH="i486 arm"
12 TARBALL="libSM-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-libICE-dev xorg-xtrans util-linux-uuid-dev"
16 SPLIT="xorg-libSM-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-libSM)
35 copy @std
36 DEPENDS="util-linux-uuid xorg-libICE"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="xorg-libSM util-linux-uuid-dev xorg-libICE-dev xorg-xproto"
41 ;;
42 esac
43 }