diff options
author | jlam <jlam@pkgsrc.org> | 2002-05-11 02:11:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-05-11 02:11:39 +0000 |
commit | c5d8e86efa34097e2acc400c3c3c3ca703037642 (patch) | |
tree | 7aacd89cdc6d290aadd64c3061cdbb68b615b0c2 | |
parent | 9bef913c5dd0c38e1037b5b497b7190e0b9fc5ce (diff) | |
download | pkgsrc-c5d8e86efa34097e2acc400c3c3c3ca703037642.tar.gz |
Add buildlink2.mk files to grow the buildlink2 framework.
-rw-r--r-- | audio/esound/buildlink2.mk | 29 | ||||
-rw-r--r-- | misc/rpm/buildlink2.mk | 30 |
2 files changed, 59 insertions, 0 deletions
diff --git a/audio/esound/buildlink2.mk b/audio/esound/buildlink2.mk new file mode 100644 index 00000000000..82d43416d20 --- /dev/null +++ b/audio/esound/buildlink2.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink2.mk,v 1.1.2.1 2002/05/11 02:11:39 jlam Exp $ +# +# This Makefile fragment is included by packages that use esound. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.esound to the dependency pattern +# for the version of esound desired. +# (2) Include this Makefile fragment in the package Makefile. + +.if !defined(ESOUND_BUILDLINK2_MK) +ESOUND_BUILDLINK2_MK= # defined + +.include "../../mk/bsd.buildlink2.mk" + +BUILDLINK_DEPENDS.esound?= esound>=0.2.18 +DEPENDS+= ${BUILDLINK_DEPENDS.esound}:../../audio/esound + +BUILDLINK_PREFIX.esound= ${LOCALBASE} +BUILDLINK_FILES.esound= include/esd.h +BUILDLINK_FILES.esound+= lib/libesd.* + +.include "../../audio/libaudiofile/buildlink2.mk" + +BUILDLINK_TARGETS+= esound-buildlink + +esound-buildlink: _BUILDLINK_USE + +.endif # ESOUND_BUILDLINK2_MK diff --git a/misc/rpm/buildlink2.mk b/misc/rpm/buildlink2.mk new file mode 100644 index 00000000000..81dc1e9d871 --- /dev/null +++ b/misc/rpm/buildlink2.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink2.mk,v 1.1.2.1 2002/05/11 02:11:40 jlam Exp $ +# +# This Makefile fragment is included by packages that use rpm. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.rpm to the dependency pattern +# for the version of rpm desired. +# (2) Include this Makefile fragment in the package Makefile. + +.if !defined(RPM_BUILDLINK2_MK) +RPM_BUILDLINK2_MK= # defined + +.include "../../mk/bsd.buildlink2.mk" + +# This adds a build-dependency as rpm only has a static library. +BUILDLINK_DEPENDS.rpm?= rpm>=2.4.3 +BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.rpm}:../../misc/rpm + +BUILDLINK_PREFIX.rpm= ${LOCALBASE} +BUILDLINK_FILES.rpm= include/rpm/* +BUILDLINK_FILES.rpm+= lib/librpm.a + +.include "../../devel/gettext-lib/buildlink2.mk" + +BUILDLINK_TARGETS+= rpm-buildlink + +rpm-buildlink: _BUILDLINK_USE + +.endif # RPM_BUILDLINK2_MK |