wok view bazaar/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents b482856e3671
children 73825207006f
line source
1 # SliTaz package receipt.
3 PACKAGE="bazaar"
4 VERSION="2.4.1"
5 CATEGORY="development"
6 SHORT_DESC="A free distributed version control system."
7 MAINTAINER="rcx@zoominternet.net"
8 SOURCE="bzr"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://bazaar-vcs.org/"
11 WGET_URL="http://launchpad.net/$SOURCE/${VERSION%.*}/$VERSION/+download/$TARBALL"
12 TAGS="dvcs version-control versioning"
14 DEPENDS="glibc-base zlib python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install \
22 --prefix=/usr \
23 --root=$DESTDIR \
24 --no-compile
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }