]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - lfs/alsa
make.sh: Add Dutch to the language management code.
[people/teissler/ipfire-2.x.git] / lfs / alsa
CommitLineData
bc8ca5e4 1###############################################################################
bc8ca5e4 2# #
70df8302 3# IPFire.org - A linux based firewall #
1c547336 4# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
70df8302
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
bc8ca5e4 7# it under the terms of the GNU General Public License as published by #
70df8302 8# the Free Software Foundation, either version 3 of the License, or #
bc8ca5e4
MT
9# (at your option) any later version. #
10# #
70df8302 11# This program is distributed in the hope that it will be useful, #
bc8ca5e4
MT
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
70df8302 17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
bc8ca5e4
MT
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
2b2e03ed 27
1c547336
AF
28VER = 1.0.26
29UVER = 1.0.26
68f7ce8f 30FVER = 1.0.25
bc8ca5e4 31
fdf0c7c1
AF
32VERSUFIX = ipfire$(KCFG)
33
bc8ca5e4
MT
34THISAPP = alsa-lib-$(VER)
35DL_FILE = $(THISAPP).tar.bz2
36DL_FROM = $(URL_IPFIRE)
37DIR_APP = $(DIR_SRC)/$(THISAPP)
bc8ca5e4 38PROG = alsa
1c547336 39PAK_VER = 11
bc8ca5e4 40
bc8ca5e4
MT
41DEPS = ""
42
1c547336 43TARGET = $(DIR_INFO)/$(THISAPP)
2b2e03ed 44
bc8ca5e4
MT
45###############################################################################
46# Top-level Rules
47###############################################################################
48
1c547336 49objects = $(DL_FILE) alsa-utils-$(UVER).tar.bz2 alsa-firmware-$(FVER).tar.bz2
bc8ca5e4
MT
50
51$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
a8a3fbc0
AF
52alsa-utils-$(UVER).tar.bz2 = $(DL_FROM)/alsa-utils-$(UVER).tar.bz2
53alsa-firmware-$(FVER).tar.bz2 = $(DL_FROM)/alsa-firmware-$(FVER).tar.bz2
bc8ca5e4 54
1c547336
AF
55$(DL_FILE)_MD5 = 2dfa35d28471d721e592b616beedf965
56alsa-utils-$(UVER).tar.bz2_MD5 = 4dcf1017fafc91603af96705c073eca9
68f7ce8f 57alsa-firmware-$(FVER).tar.bz2_MD5 = f1939da45b162c83a726c54a470ef139
bc8ca5e4
MT
58
59install : $(TARGET)
60
61check : $(patsubst %,$(DIR_CHK)/%,$(objects))
62
63download :$(patsubst %,$(DIR_DL)/%,$(objects))
64
65md5 : $(subst %,%_MD5,$(objects))
66
67dist:
68 @$(PAK)
69
70###############################################################################
71# Downloading, checking, md5sum
72###############################################################################
73
74$(patsubst %,$(DIR_CHK)/%,$(objects)) :
75 @$(CHECK)
76
77$(patsubst %,$(DIR_DL)/%,$(objects)) :
78 @$(LOAD)
79
80$(subst %,%_MD5,$(objects)) :
81 @$(MD5)
82
83###############################################################################
84# Installation Details
85###############################################################################
86
87$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
88 @$(PREBUILD)
4ef84d05 89 @rm -rf $(DIR_SRC)/alsa*
4ef84d05 90 cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
68f7ce8f 91 cd $(DIR_APP) && ./configure
fcc53523 92 cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
bc8ca5e4 93 cd $(DIR_APP) && make install
a8a3fbc0
AF
94 cd $(DIR_SRC) && tar xfj $(DIR_DL)/alsa-utils-$(UVER).tar.bz2
95 cd $(DIR_SRC)/alsa-utils-$(UVER) && ./configure --disable-xmlto
96 cd $(DIR_SRC)/alsa-utils-$(UVER) && make $(MAKETUNING) $(EXTRA_MAKE)
97 cd $(DIR_SRC)/alsa-utils-$(UVER) && make install
98 cd $(DIR_SRC) && tar xfj $(DIR_DL)/alsa-firmware-$(FVER).tar.bz2
99 cd $(DIR_SRC)/alsa-firmware-$(FVER) && ./configure
100 cd $(DIR_SRC)/alsa-firmware-$(FVER) && make $(MAKETUNING) $(EXTRA_MAKE)
101 cd $(DIR_SRC)/alsa-firmware-$(FVER) && make install
bc8ca5e4
MT
102 @rm -rf $(DIR_SRC)/alsa*
103 @$(POSTBUILD)