2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 0.0.29
22 COMPONENT_SUMMARY
= xmlto is a shell-script tool for converting XML files to various formats
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a
26 COMPONENT_ARCHIVE_URL
= https
://pagure.io
/xmlto
/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://pagure.io
/xmlto
28 COMPONENT_FMRI
= text
/$(COMPONENT_NAME
)
29 COMPONENT_CLASSIFICATION
= System
/Text Tools
30 COMPONENT_LICENSE
= GPL-2.0
-only
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
35 # We need to bootstrap the project
36 COMPONENT_PREP_ACTION
+= ( cd
$(@D
) && $(ENV
) autoreconf
-fi
) ;
38 # Make sure that configure finds the GNU variants:
39 CONFIGURE_ENV
+= BASH
=/usr
/bin
/bash
40 CONFIGURE_ENV
+= CP
=/usr
/bin
/gcp
41 CONFIGURE_ENV
+= FIND
=/usr
/bin
/gfind
42 CONFIGURE_ENV
+= GETOPT
=/usr
/gnu
/bin
/getopt
43 CONFIGURE_ENV
+= GREP
=/usr
/bin
/ggrep
44 CONFIGURE_ENV
+= SED
=/usr
/bin
/gsed
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= file
/gnu-coreutils
48 REQUIRED_PACKAGES
+= file
/gnu-findutils
49 REQUIRED_PACKAGES
+= library
/libxml2
50 REQUIRED_PACKAGES
+= library
/libxslt
51 REQUIRED_PACKAGES
+= shell/bash
52 REQUIRED_PACKAGES
+= shell/gnu-getopt
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= text
/gnu-grep
55 REQUIRED_PACKAGES
+= web
/browser
/lynx