25 |
25 |
26 # Package name used in tarballs |
26 # Package name used in tarballs |
27 MODULE_NAME=util-macros |
27 MODULE_NAME=util-macros |
28 |
28 |
29 # Version number (used in path names) |
29 # Version number (used in path names) |
30 MODULE_VERSION=1.3.0 |
30 MODULE_VERSION=1.7.0 |
31 |
31 |
32 # Checksums for upstream tarball |
32 # Checksums for upstream tarball |
33 TARBALL_MD5 = 0837fe88af7d692308b25815457a3288 |
33 TARBALL_MD5 = 0c6d2cedcfc83d2f2d873d489d868230 |
34 TARBALL_SHA1 = 2c6396976af20bb0c7b3b27b229876fe67c6b9dc |
34 TARBALL_SHA1 = 82f832a47ab6ea6aca11f29161e88b14958d883d |
35 |
35 |
36 # Patches to apply to source after unpacking, in order |
36 # Patches to apply to source after unpacking, in order |
37 SOURCE_PATCHES= |
37 SOURCE_PATCHES= |
38 |
38 |
|
39 # Additional rules for generating sources |
|
40 MODULE_ADD_SOURCE_TARGETS=source_fix_pkgname |
|
41 |
|
42 # Need to autoreconf after running source_fix_pkgname |
|
43 AUTORECONF=yes |
|
44 |
39 # Additional install rules beyond what upstream installs |
45 # Additional install rules beyond what upstream installs |
40 MODULE_ADD_INSTALL_TARGETS=install_libtool_fix |
46 MODULE_ADD_INSTALL_TARGETS=install_libtool_fix |
41 |
47 |
|
48 # xorg-macro pkg-config files are architecture independent, so install in share |
|
49 MODTYPE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE) |
|
50 MODTYPE_PKGCONFIG_DIR_SET=yes |
|
51 |
42 ### Include common rulesets |
52 ### Include common rulesets |
43 include ../Makefile.inc |
53 include ../Makefile.inc |
|
54 |
|
55 # Install additional data files under xorg-macros instead of the |
|
56 # too-generic "util-macros" |
|
57 source_fix_pkgname: $(PATCHED_TARGET) |
|
58 $(PERL) -i.orig -p -e 's{util-macros}{xorg-macros}g' \ |
|
59 $(SOURCE_DIR)/configure.ac |
44 |
60 |
45 # Libtool versions before 2.2.2 fail to work with LD=cc in 64 bit builds, |
61 # Libtool versions before 2.2.2 fail to work with LD=cc in 64 bit builds, |
46 # so install fixed libtool m4 macros here as well, so that modules that |
62 # so install fixed libtool m4 macros here as well, so that modules that |
47 # run autoreconf get the fixed sources |
63 # run autoreconf get the fixed sources |
48 install_libtool_fix: |
64 install_libtool_fix: |