]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/python-piksemel/python-piksemel.nm
Move packages to pkgs subdirectory.
[people/ms/ipfire-3.x.git] / pkgs / python-piksemel / python-piksemel.nm
CommitLineData
21ad1a3a
SS
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = piksemel
28PKG_VER = 1.3.1
29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = Development/Languages
33PKG_URL = http://cekirdek.pardus.org.tr/~bahadir/piksemel/
34PKG_LICENSE = GPLv2+
35PKG_SUMMARY = A python XML parser.
36
37PKG_BUILD_DEPS+= python-devel
38
39define PKG_DESCRIPTION
40 Piksemel is a easy to use python XML parser, based on iksemel.
41endef
42
43PKG_TARBALL = $(THISAPP).tar.gz
44
45define STAGE_BUILD
46 cd $(DIR_APP) && python setup.py build
47endef
48
49define STAGE_TEST
50 # Create symlink for testsuite to find the compiled module.
51 cd $(DIR_APP)/tests && ln -s ../build/lib.*/piksemel.so piksemel.so
52 cd $(DIR_APP) && python setup.py test
53endef
54
55define STAGE_INSTALL
56 cd $(DIR_APP) && python setup.py install --root=$(BUILDROOT)
57endef
58