mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
58 lines
2.2 KiB
Makefile
58 lines
2.2 KiB
Makefile
################################################################################
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
#
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
PKG_NAME="alsa-utils"
|
|
PKG_VERSION="1.0.27.2"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.alsa-project.org/"
|
|
PKG_URL="ftp://ftp.alsa-project.org/pub/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain alsa-lib"
|
|
PKG_PRIORITY="optional"
|
|
PKG_SECTION="audio"
|
|
PKG_SHORTDESC="alsa-utils: Advanced Linux Sound Architecture utilities"
|
|
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
|
|
|
|
PKG_IS_ADDON="no"
|
|
PKG_AUTORECONF="yes"
|
|
|
|
# package specific configure options
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
|
--disable-xmlto \
|
|
--disable-alsamixer \
|
|
--disable-alsaconf \
|
|
--disable-alsaloop \
|
|
--enable-alsatest \
|
|
--disable-nls"
|
|
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf $INSTALL/lib $INSTALL/var
|
|
rm -rf $INSTALL/usr/share/alsa/speaker-test
|
|
rm -rf $INSTALL/usr/share/sounds
|
|
rm -rf $INSTALL/usr/lib/systemd/system
|
|
|
|
for i in aconnect alsaucm amidi aplaymidi arecord arecordmidi aseqdump aseqnet iecset; do
|
|
rm -rf $INSTALL/usr/bin/$i
|
|
done
|
|
|
|
mkdir -p $INSTALL/usr/lib/udev
|
|
cp $PKG_DIR/scripts/soundconfig $INSTALL/usr/lib/udev
|
|
}
|