forked from Imagelibrary/rtems
New.
This commit is contained in:
18
contrib/crossrpms/freebsd6.4/libs.am
Normal file
18
contrib/crossrpms/freebsd6.4/libs.am
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add
|
||||||
|
LIBS_SUBPACKAGES += $(srcdir)/libs.add
|
||||||
|
LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
|
||||||
|
LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add
|
||||||
|
LIBS_SUBPACKAGES += $(srcdir)/target-libs.add
|
||||||
|
|
||||||
|
$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am
|
||||||
|
cat $(LIBS_SUBPACKAGES) | sed \
|
||||||
|
-e "s/[@]FREEBSD_VERS[@]/$(FREEBSD_VERS)/g" \
|
||||||
|
-e "s/[@]FREEBSD_RPMREL[@]/$(FREEBSD_RPMREL)%{?dist}/g" \
|
||||||
|
-e "s,%{gcc_rpmvers},%{freebsd_rpmvers},g" \
|
||||||
|
> $(TARGET)-libs.spec.in
|
||||||
|
CLEANFILES += $(TARGET)-libs.spec.in
|
||||||
|
|
||||||
|
@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in
|
||||||
|
$(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@
|
||||||
|
CLEANFILES += @rpmprefix@$(TARGET)-libs.spec
|
||||||
|
noinst_DATA += @rpmprefix@$(TARGET)-libs.spec
|
||||||
Reference in New Issue
Block a user