1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/libpopt/trunk/Makefile

Revision 19643, 2.0 KB (checked in by dmichelsen, 6 months ago)

WHOLE TREE: Remove default CATEGORIES

Line 
1NAME = popt
2VERSION = 1.16
3GARTYPE = v2
4
5DESCRIPTION = Popt is a C library for parsing command line parameters
6define BLURB
7Popt is a C library for parsing command line parameters. Popt was
8heavily influenced by the getopt() and getopt_long() functions,
9but it improves on them by allowing more powerful argument expansion.
10Popt can parse arbitrary argv[] style arrays and automatically set
11variables based on command line arguments. Popt allows command line
12arguments to be aliased via configuration files and includes utility
13functions for parsing arbitrary strings into argv[] arrays using
14shell-like rules.
15endef
16
17MASTER_SITES = http://rpm5.org/files/$(NAME)/
18DISTFILES  = $(NAME)-$(VERSION).tar.gz
19
20# This patch has been sent upstream:
21#   http://www.mail-archive.com/popt-devel@rpm5.org/
22PATCHFILES += 0001-Use-inttypes.h-if-stdint.h-is-not-available.patch
23
24# This fixes a minor failing check. See for details
25#   http://www.mail-archive.com/popt-devel@rpm5.org/msg00155.html
26PATCHFILES += 0002-Fix-failing-tests.patch
27
28PACKAGES += CSWlibpopt0
29SPKG_DESC_CSWlibpopt0 = Library for parsing command line parameters, libpopt.so.0
30# PKGFILES is catchall (library and according LC_MESSAGES)
31OBSOLETED_BY_CSWlibpopt0 += CSWlibpopt
32RUNTIME_DEP_PKGS_CSWlibpopt0 += CSWlibintl8
33RUNTIME_DEP_PKGS_CSWlibpopt0 += CSWlibiconv2
34
35PACKAGES += CSWlibpopt-dev
36SPKG_DESC_CSWlibpopt-dev = Development files for libpopt.so
37RUNTIME_DEP_PKGS_CSWlibpopt-dev = CSWlibpopt0
38PKGFILES_CSWlibpopt-dev += $(PKGFILES_DEVEL)
39OBSOLETES_CSWlibpopt-dev += CSWlibpopt
40
41BUILD64_LIBS_ONLY = 1
42NORUNPATH = 1
43
44include gar/category.mk
45
46# We need GNU gettext under the name xgettext (not gxgettext) and
47# prepending /opt/csw/gnu needs _A LOT_ of GNU stuff installed
48# or several commands usually taken from /usr/bin are searched
49# there and are not found.
50pre-configure:
51        @ln -s /opt/csw/bin/gxgettext $(WORKSRC)/xgettext
52        @$(MAKECOOKIE)
53
54# Make sure xgettext we carefully linked just before is found before
55# other versions.
56PATH := .:$(PATH)
Note: See TracBrowser for help on using the browser.