wok-next view xorg-libXdmcp/receipt @ rev 18910

Add gnubg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:54:46 2016 +0100 (2016-02-22)
parents 0fcd787c7a03
children 9f70134dc7a7
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXdmcp"
4 VERSION="1.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X Display Manager Control Protocol library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="libXdmcp"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base"
16 BUILD_DEPENDS="xorg-xproto"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/share/licenses \
35 $fs/usr/lib
36 install -m644 -oroot -groot $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }