diff options
author | Ismael Luceno | 2011-09-26 21:35:02 -0300 |
---|---|---|
committer | Ismael Luceno | 2011-09-26 23:35:34 -0300 |
commit | 16dec525553be8a663697c8dba583815d177b6c1 (patch) | |
tree | b2513ddbce15750616862817c084e863d51ae098 /audio-drivers/alsa-utils | |
parent | 89626967669bc350a66e9e18a7bafaf3b35d79d6 (diff) |
alsa-utils: Use prepare_select_branch
Diffstat (limited to 'audio-drivers/alsa-utils')
-rwxr-xr-x | audio-drivers/alsa-utils/BUILD | 2 | ||||
-rwxr-xr-x | audio-drivers/alsa-utils/DEPENDS | 2 | ||||
-rwxr-xr-x | audio-drivers/alsa-utils/DETAILS | 4 | ||||
-rw-r--r-- | audio-drivers/alsa-utils/HISTORY | 3 | ||||
-rwxr-xr-x | audio-drivers/alsa-utils/PREPARE | 8 |
5 files changed, 9 insertions, 10 deletions
diff --git a/audio-drivers/alsa-utils/BUILD b/audio-drivers/alsa-utils/BUILD index 1ce3003e2f..9711236f21 100755 --- a/audio-drivers/alsa-utils/BUILD +++ b/audio-drivers/alsa-utils/BUILD @@ -1,4 +1,4 @@ -if [[ $ALSA_UTILS_GIT == y ]]; then +if [[ $ALSA_UTILS_BRANCH == scm ]]; then OPTS="--prefix=${INSTALL_ROOT}/usr \ --sysconfdir=${INSTALL_ROOT}/etc \ --localstatedir=${INSTALL_ROOT}/var \ diff --git a/audio-drivers/alsa-utils/DEPENDS b/audio-drivers/alsa-utils/DEPENDS index 817615716b..3b47779270 100755 --- a/audio-drivers/alsa-utils/DEPENDS +++ b/audio-drivers/alsa-utils/DEPENDS @@ -7,7 +7,7 @@ optional_depends xmlto \ "--disable-xmlto" \ "for generated documentation" && -if [[ $ALSA_UTILS_GIT == y ]]; then +if [[ $ALSA_UTILS_BRANCH == scm ]]; then depends git && depends libtool && depends automake && diff --git a/audio-drivers/alsa-utils/DETAILS b/audio-drivers/alsa-utils/DETAILS index 2737928e09..4de201fe5a 100755 --- a/audio-drivers/alsa-utils/DETAILS +++ b/audio-drivers/alsa-utils/DETAILS @@ -1,6 +1,6 @@ SPELL=alsa-utils -if [[ $ALSA_UTILS_GIT == y ]]; then - if [[ $ALSA_UTILS_GIT_AUTOUPDATE == y ]]; then +if [[ $ALSA_UTILS_BRANCH == scm ]]; then + if [[ $ALSA_UTILS_AUTOUPDATE == y ]]; then VERSION=$(date +%Y%m%d) else VERSION=git diff --git a/audio-drivers/alsa-utils/HISTORY b/audio-drivers/alsa-utils/HISTORY index b05505efd8..983cd1177d 100644 --- a/audio-drivers/alsa-utils/HISTORY +++ b/audio-drivers/alsa-utils/HISTORY @@ -1,3 +1,6 @@ +2011-09-26 Ismael Luceno <ismael@sourcemage.org> + * BUILD, DEPENDS, DETAILS, PREPARE: Use prepare_select_branch + 2011-02-01 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: updated spell to 1.0.24.2 diff --git a/audio-drivers/alsa-utils/PREPARE b/audio-drivers/alsa-utils/PREPARE index 25a1d0265d..98d27e41ff 100755 --- a/audio-drivers/alsa-utils/PREPARE +++ b/audio-drivers/alsa-utils/PREPARE @@ -1,6 +1,2 @@ -config_query ALSA_UTILS_GIT "Build latest version from development tree?" n && - -if [[ $ALSA_UTILS_GIT == y ]]; then - config_query ALSA_UTILS_GIT_AUTOUPDATE \ - "Automatically update on every system update?" n -fi +. ${GRIMOIRE}/FUNCTIONS && +prepare_select_branch stable scm |