]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - lfs/alsa
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / lfs / alsa
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
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 #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include Config
26
27
28 VER = 1.2.5.1
29 UVER = 1.2.5.1
30 FVER = 1.2.4
31
32 VERSUFIX = ipfire$(KCFG)
33
34 THISAPP = alsa-lib-$(VER)
35 DL_FILE = $(THISAPP).tar.bz2
36 DL_FROM = $(URL_IPFIRE)
37 DIR_APP = $(DIR_SRC)/$(THISAPP)
38 PROG = alsa
39 PAK_VER = 13
40
41 DEPS =
42
43 TARGET = $(DIR_INFO)/$(THISAPP)
44
45 ###############################################################################
46 # Top-level Rules
47 ###############################################################################
48
49 objects = $(DL_FILE) alsa-utils-$(UVER).tar.bz2 alsa-firmware-$(FVER).tar.bz2
50
51 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
52 alsa-utils-$(UVER).tar.bz2 = $(DL_FROM)/alsa-utils-$(UVER).tar.bz2
53 alsa-firmware-$(FVER).tar.bz2 = $(DL_FROM)/alsa-firmware-$(FVER).tar.bz2
54
55 $(DL_FILE)_MD5 = c8335793e7828803311edc48fb71662e
56 alsa-utils-$(UVER).tar.bz2_MD5 = 8f142bebff84ff05438b46a0e896f53a
57 alsa-firmware-$(FVER).tar.bz2_MD5 = ee6c1d24a1a4ac1d86992b408ed710a2
58
59 install : $(TARGET)
60
61 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
62
63 download :$(patsubst %,$(DIR_DL)/%,$(objects))
64
65 md5 : $(subst %,%_MD5,$(objects))
66
67 dist:
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)
89 @rm -rf $(DIR_SRC)/alsa*
90 cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
91 cd $(DIR_APP) && tar xfj $(DIR_DL)/alsa-utils-$(UVER).tar.bz2
92 cd $(DIR_APP) && tar xfj $(DIR_DL)/alsa-firmware-$(FVER).tar.bz2
93 $(UPDATE_AUTOMAKE)
94 cd $(DIR_APP) && ./configure
95 cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
96 cd $(DIR_APP) && make install
97 cd $(DIR_APP)/alsa-utils-$(UVER) && ./configure --disable-xmlto
98 cd $(DIR_APP)/alsa-utils-$(UVER) && make $(MAKETUNING) $(EXTRA_MAKE)
99 cd $(DIR_APP)/alsa-utils-$(UVER) && make install
100 cd $(DIR_APP)/alsa-firmware-$(FVER) && ./configure
101 cd $(DIR_APP)/alsa-firmware-$(FVER) && make $(MAKETUNING) $(EXTRA_MAKE)
102 cd $(DIR_APP)/alsa-firmware-$(FVER) && make install
103 # install initscript
104 $(call INSTALL_INITSCRIPT,alsa)
105 @rm -rf $(DIR_SRC)/alsa*
106 @$(POSTBUILD)