ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ozone/mgar/pkg/intltool/Makefile
Revision: 40
Committed: Tue Jun 23 12:41:36 2026 UTC (4 weeks ago) by operz
File size: 1037 byte(s)
Log Message:
Add packages: gnutls 3.8.13, intltool 0.51.0, libxml2 2.15.3, msn-pecan master, pidgin 2.14.14, sed 4.10; update nettle to 4.0

File Contents

# Content
1 NAME = intltool
2 VERSION = 0.51.0
3
4 CATEGORIES = utils
5
6 DESCRIPTION = Internationalization tool collection
7 define BLURB
8 intltool is a set of tools to centralize translation of many different
9 file formats using GNU gettext-compatible PO files.
10 endef
11
12 MASTER_SITES = https://launchpad.net/intltool/trunk/$(VERSION)/+download/
13 DISTFILES = $(DISTNAME).tar.gz
14
15 LICENSE = COPYING
16
17 PACKAGES = OZSWintltool
18 SPKG_DESC_OZSWintltool = Internationalization tool collection
19 SPKG_CLASSES = cswdictconf
20 RUNTIME_DEP_PKGS_OZSWintltool =
21
22 # Use system perl (/usr/bin/perl) which has XML::Parser for the configure check.
23 # Then patch shebangs to OZSWperl (which has Encode) for runtime use.
24 CONFIGURE_ARGS = $(DIRPATHS)
25 CONFIGURE_ARGS += PERL=/usr/bin/perl
26
27 include gar/category.mk
28
29 post-install:
30 # Patch intltool script shebangs to use OZSWperl (which has Encode compiled in)
31 for f in $(DESTDIR)$(BUILD_PREFIX)/bin/intltool-*; do \
32 /usr/bin/gsed -i '1s|^#!/usr/bin/perl|#!/opt/ozsw/bin/perl|' "$$f"; \
33 done
34 @$(MAKECOOKIE)