ajout de la recette pacman pour compiler wazuh-agent
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index c661f447..3d6e9b45 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -72,14 +72,9 @@ install-data-local:
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
|
||||
-update-po:
|
||||
- $(MAKE) -C lib/libalpm/po update-po
|
||||
- $(MAKE) -C scripts/po update-po
|
||||
- $(MAKE) -C src/pacman/po update-po
|
||||
-
|
||||
update-copyright:
|
||||
for file in $(shell sh -c 'git grep -l "Copyright .* Pacman Development" | grep -v "\.po"'); do \
|
||||
sed -i -e "/Copyright (/s/-$(OLD)/-$(NEW)/" -e "/Copyright (/s/ $(OLD)/ $(OLD)-$(NEW)/" "$$file"; \
|
||||
done
|
||||
|
||||
-.PHONY: update-po update-copyright
|
||||
+.PHONY: update-copyright
|
||||
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
|
||||
index e4f83223..f428aa3b 100644
|
||||
--- a/lib/libalpm/Makefile.am
|
||||
+++ b/lib/libalpm/Makefile.am
|
||||
@@ -1,8 +1,6 @@
|
||||
AUTOMAKE_OPTIONS = gnu
|
||||
|
||||
-SUBDIRS = po
|
||||
-
|
||||
-EXTRA_DIST = meson.build po/meson.build
|
||||
+EXTRA_DIST = meson.build
|
||||
|
||||
lib_LTLIBRARIES = libalpm.la
|
||||
include_HEADERS = alpm_list.h alpm.h
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a116bc3e..4c53429d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -538,14 +538,11 @@ AC_DEFINE_UNQUOTED([LDCONFIG], "$LDCONFIG", [The full path to ldconfig])
|
||||
# Configuration files
|
||||
AC_CONFIG_FILES([
|
||||
lib/libalpm/Makefile
|
||||
-lib/libalpm/po/Makefile.in
|
||||
lib/libalpm/libalpm.pc
|
||||
src/common/Makefile
|
||||
src/pacman/Makefile
|
||||
-src/pacman/po/Makefile.in
|
||||
src/util/Makefile
|
||||
scripts/Makefile
|
||||
-scripts/po/Makefile.in
|
||||
doc/Makefile
|
||||
etc/Makefile
|
||||
test/pacman/Makefile
|
||||
diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am
|
||||
index ac2f8e46..e7b6fa02 100644
|
||||
--- a/src/pacman/Makefile.am
|
||||
+++ b/src/pacman/Makefile.am
|
||||
@@ -1,6 +1,5 @@
|
||||
-SUBDIRS = po
|
||||
|
||||
-EXTRA_DIST = meson.build po/meson.build
|
||||
+EXTRA_DIST = meson.build
|
||||
|
||||
# paths set at make time
|
||||
conffile = ${sysconfdir}/pacman.conf
|
||||
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
|
||||
index 63d09767..ef818576 100644
|
||||
--- a/scripts/Makefile.am
|
||||
+++ b/scripts/Makefile.am
|
||||
@@ -3,8 +3,6 @@ AUTOMAKE_OPTIONS = std-options
|
||||
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = \
|
||||
$(WRAPPER)
|
||||
|
||||
-SUBDIRS = po
|
||||
-
|
||||
pkgconfigdir = $(datarootdir)/pkgconfig
|
||||
pkgconfig_DATA = libmakepkg.pc
|
||||
|
||||
Reference in New Issue
Block a user