]> git.ipfire.org Git - ipfire-3.x.git/blame - lfs/pixman
Added some lines for ext4 on installer.
[ipfire-3.x.git] / lfs / pixman
CommitLineData
7bdf5351
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
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
25include Config
26
27PKG_NAME = pixman
8d3b5a6a 28VER = 0.13.2
7bdf5351
MT
29
30THISAPP = $(PKG_NAME)-$(VER)
31DL_FILE = $(THISAPP).tar.gz
32DIR_APP = $(DIR_SRC)/$(THISAPP)
33
6679675b 34OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
7bdf5351
MT
35
36CONFIGURE_ARGS = --disable-mmx --disable-sse2
37
6934c071 38ifeq "$(TARGET)" "via-c7"
9ef890a2 39 CONFIGURE_ARGS = --enable-mmx #--enable-sse2
7bdf5351 40endif
6934c071
MT
41ifeq "$(TARGET)" "atom330"
42 CONFIGURE_ARGS = --enable-mmx --enable-sse2
43endif
7bdf5351
MT
44
45###############################################################################
46# Top-level Rules
47###############################################################################
48
49objects = $(DL_FILE)
50
43fad596
MT
51info:
52 $(DO_PKG_INFO)
53
6679675b 54install: $(OBJECT)
7bdf5351
MT
55
56download : $(objects)
57
58$(objects) :
59 @$(LOAD)
60
61###############################################################################
62# Installation Details
63###############################################################################
64
6679675b 65$(OBJECT) :
7bdf5351
MT
66 @$(PREBUILD)
67 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
68 cd $(DIR_APP) && \
69 ./configure \
22ffccf7 70 $(CONFIGURE_ARCH) \
7bdf5351
MT
71 --prefix=/usr \
72 --disable-static \
73 $(CONFIGURE_ARGS)
74 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
75 cd $(DIR_APP) && make install
76 @rm -rf $(DIR_APP)
77 @$(POSTBUILD)