summaryrefslogtreecommitdiffstats
path: root/audio-drivers/alsa-utils
diff options
context:
space:
mode:
authorPavel Vinogradov2015-01-31 19:13:49 -0500
committerPavel Vinogradov2015-01-31 19:25:00 -0500
commitec4bb838b06eb50865c6bcafd7238457f1f9ea5d (patch)
tree9d85a71f016dbf81d2d3c4f670b07b44ba75194c /audio-drivers/alsa-utils
parentc380b830a552977e7cecc21574fc994aa28a6800 (diff)
audio-drivers/alsa-utils: moved BUILD scm code to PRE_BUILD,
added gettext for scm branch as well
Diffstat (limited to 'audio-drivers/alsa-utils')
-rwxr-xr-xaudio-drivers/alsa-utils/BUILD11
-rwxr-xr-xaudio-drivers/alsa-utils/DEPENDS3
-rw-r--r--audio-drivers/alsa-utils/HISTORY6
-rwxr-xr-xaudio-drivers/alsa-utils/PRE_BUILD14
4 files changed, 22 insertions, 12 deletions
diff --git a/audio-drivers/alsa-utils/BUILD b/audio-drivers/alsa-utils/BUILD
deleted file mode 100755
index 9711236f21..0000000000
--- a/audio-drivers/alsa-utils/BUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-if [[ $ALSA_UTILS_BRANCH == scm ]]; then
- OPTS="--prefix=${INSTALL_ROOT}/usr \
- --sysconfdir=${INSTALL_ROOT}/etc \
- --localstatedir=${INSTALL_ROOT}/var \
- --mandir=${INSTALL_ROOT}/usr/share/man \
- --infodir=${INSTALL_ROOT}/usr/share/info \
- $OPTS" &&
- ./gitcompile $OPTS
-else
- default_build
-fi
diff --git a/audio-drivers/alsa-utils/DEPENDS b/audio-drivers/alsa-utils/DEPENDS
index 3b47779270..b5c4196f10 100755
--- a/audio-drivers/alsa-utils/DEPENDS
+++ b/audio-drivers/alsa-utils/DEPENDS
@@ -11,7 +11,8 @@ if [[ $ALSA_UTILS_BRANCH == scm ]]; then
depends git &&
depends libtool &&
depends automake &&
- depends autoconf
+ depends autoconf &&
+ depends gettext
fi &&
runtime_depends which
diff --git a/audio-drivers/alsa-utils/HISTORY b/audio-drivers/alsa-utils/HISTORY
index a71b3920c8..f5849db3e9 100644
--- a/audio-drivers/alsa-utils/HISTORY
+++ b/audio-drivers/alsa-utils/HISTORY
@@ -1,3 +1,9 @@
+2015-01-31 Pavel Vinogradov <public@sourcemage.org>
+ * BUILD: deleted
+ * DEPENDS: added gettext for scm branch
+ * PRE_BUILD: added, contains most of gitcompile code from scm branch.
+ now fully non-interactive
+
2014-07-03 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: Use get_scm_version
diff --git a/audio-drivers/alsa-utils/PRE_BUILD b/audio-drivers/alsa-utils/PRE_BUILD
new file mode 100755
index 0000000000..13b65aecc6
--- /dev/null
+++ b/audio-drivers/alsa-utils/PRE_BUILD
@@ -0,0 +1,14 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+if [[ $ALSA_UTILS_BRANCH == scm ]]; then
+ aclocal -I m4 &&
+ cp Makefile.am Makefile.am.ok &&
+ cp configure.ac configure.ac.ok &&
+ gettextize -f --no-changelog &&
+ echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am &&
+ cp Makefile.am.ok Makefile.am &&
+ cp configure.ac.ok configure.ac &&
+ autoheader &&
+ automake --foreign --copy --add-missing &&
+ autoconf
+fi