wok-next view xcb-proto/receipt @ rev 15362
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 13:07:29 2013 +0000 (2013-10-02) |
parents | 1bd58ffde448 |
children | 47e1df965953 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-proto"
4 VERSION="1.8"
5 CATEGORY="development"
6 SHORT_DESC="X protocol descriptions for XCB"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="other"
9 WEB_SITE="http://xcb.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev libxml2-tools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/licenses
31 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
33 cp -a $install/* $fs
34 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
35 find $fs -name '*.py?' -delete
36 }