2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Ken Mays
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= xf86-video-savage
19 COMPONENT_VERSION
= 2.3.7
21 COMPONENT_SUMMARY
= xf86-video-savage
- S3 Savage video driver for the Xorg X server
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:041d4205c9222c1780fba6e0e397a559aed393b7a7991b58fa79ba8cccc54a44
26 COMPONENT_ARCHIVE_URL
= \
27 http
://xorg.freedesktop.org
/archive
/individual
/driver
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= http
://xorg.freedesktop.org
29 COMPONENT_CLASSIFICATION
= Drivers
/Display
30 COMPONENT_LICENSE
= MIT
31 COMPONENT_LICENSE_FILE
= COPYING
32 COMPONENT_FMRI
= x11
/server
/xorg
/driver
/xorg-video-savage
34 include $(WS_TOP
)/make-rules
/prep.mk
36 include $(WS_TOP
)/make-rules
/configure.mk
37 include $(WS_TOP
)/make-rules
/ips.mk
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
40 libtoolize
--automake
--copy
--force && \
46 # Paths to find libraries/modules to link with
48 SERVERMOD_SUBDIR
.64=/$(MACH64
)
49 SERVERMOD_SUBDIR
=$(SERVERMOD_SUBDIR.
$(BITS
))
50 X11_SERVERMODS_DIR
=/usr
/lib
/xorg
/modules
51 X11_SERVERLIBS_DIR
=/usr
/lib
/xorg
53 LD_OPTIONS
= -M
$(COMPONENT_DIR
)/mapfile.externs \
54 -L
$(X11_SERVERMODS_DIR
)$(SERVERMOD_SUBDIR
) \
55 -L
$(X11_SERVERLIBS_DIR
)$(SERVERMOD_SUBDIR
) \
56 -R
$(X11_SERVERMODS_DIR
)$(SERVERMOD_SUBDIR
) \
57 -R
$(X11_SERVERLIBS_DIR
)$(SERVERMOD_SUBDIR
) \
58 -lexa
-lfb
-lint10
-lpciaccess
-lshadowfb
-lXfont
-lvbe
-lvgahw
-lm
60 # - Disable DRI since the kernel module isn't ported
61 CONFIGURE_OPTIONS
+= --disable-dri
63 build
: $(BUILD_32_and_64
)
65 install: $(INSTALL_32_and_64
)