~ubuntu-branches/ubuntu/hardy/bcfg2/hardy-updates

« back to all changes in this revision

Viewing changes to encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep

  • Committer: Bazaar Package Importer
  • Author(s): Sami Haahtinen
  • Date: 2006-11-16 22:39:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061116223916-8dtn3t86cz58vg2x
Tags: 0.8.6.1-1
* New Upstream Release
* Replaced faulty if clause in bcfg2.postrm (Closes: #398772)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<!-- $Id: bcfg2-elementtree-1.2.6.ep 2452 2006-10-23 14:45:04Z dclark $ -->
 
4
 
 
5
<encap_profile
 
6
        profile_ver="1.0"
 
7
    pkgspec="bcfg2-elementtree-1.2.6"
 
8
>
 
9
 
 
10
<prereq package="m4-1.4.4" />
 
11
<prereq package="bcfg2-python-2.4.4" />
 
12
 
 
13
<environment
 
14
        variable="PATH"
 
15
PLATFORM_IF_MATCH(solaris)
 
16
        value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:"
 
17
PLATFORM_ELSE
 
18
        value="/usr/local/lib/bcfg2/bin:/usr/local/bin:"
 
19
PLATFORM_ENDIF
 
20
        type="prepend"
 
21
/>
 
22
 
 
23
PLATFORM_IF_MATCH(linux)
 
24
PLATFORM_ELSE
 
25
<environment
 
26
        variable="MAKE"
 
27
        value="gmake"
 
28
        type="set"
 
29
/>
 
30
PLATFORM_ENDIF
 
31
 
 
32
<source
 
33
url="ftp://encapsrcdist/mirror/elementtree/elementtree-1.2.6-20050316.tar.gz
 
34
http://www.pobox.com/users/dclark/mirror/elementtree/elementtree-1.2.6-20050316.tar.gz
 
35
http://effbot.org/downloads/elementtree-1.2.6-20050316.tar.gz"
 
36
>
 
37
 
 
38
<configure type="unset" />
 
39
 
 
40
<build>
 
41
/usr/local/lib/bcfg2/bin/python setup.py build \
 
42
--build-base=${builddir}/build
 
43
</build>
 
44
 
 
45
<install>
 
46
/usr/local/lib/bcfg2/bin/python setup.py install \
 
47
--prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2
 
48
</install>
 
49
 
 
50
<clean>
 
51
/usr/local/lib/bcfg2/bin/python setup.py clean
 
52
</clean>
 
53
 
 
54
</source>
 
55
 
 
56
<prepackage type="set">
 
57
chmod -R o+r lib/bcfg2
 
58
# Make "this encap is installed" sentinal file available in /usr/local/var/encap
 
59
test -d var || mkdir var
 
60
test -d var/encap || mkdir var/encap
 
61
touch var/encap/${ENCAP_PKGNAME}
 
62
</prepackage>
 
63
 
 
64
<encapinfo>
 
65
description elementtree - Light-weight toolkit for XML processing
 
66
</encapinfo>
 
67
 
 
68
</encap_profile>