summaryrefslogtreecommitdiff
path: root/packages/x11/xtrans/xtrans.mk
blob: 373b9c1adc8e250d7735b11eeb9a26dc53bba5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
################################################################################
# Embtoolkit
# Copyright(C) 2010-2011 Abdoulaye Walsimou GAYE.
#
# This program 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.
#
# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         xtrans.mk
# \brief	xtrans.mk of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         March 2010
################################################################################

XTRANS_NAME := xtrans
XTRANS_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_XTRANS_VERSION_STRING)))
XTRANS_SITE := http://xorg.freedesktop.org/archive/individual/lib
XTRANS_SITE_MIRROR3 := ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror
XTRANS_PATCH_SITE := ftp://ftp.embtoolkit.org/embtoolkit.org/xtrans/$(XTRANS_VERSION)
XTRANS_PACKAGE := xtrans-$(XTRANS_VERSION).tar.bz2
XTRANS_SRC_DIR := $(PACKAGES_BUILD)/xtrans-$(XTRANS_VERSION)
XTRANS_BUILD_DIR := $(PACKAGES_BUILD)/xtrans-$(XTRANS_VERSION)

XTRANS_BINS =
XTRANS_SBINS =
XTRANS_INCLUDES = X11/xtrans
XTRANS_LIBS =
XTRANS_PKGCONFIGS =

XTRANS_CONFIGURE_OPTS := --disable-malloc0returnsnull

xtrans_install:
	$(call EMBTK_INSTALL_PKG,XTRANS) && 				\
	cp $(SYSROOT)/usr/share/pkgconfig/xtrans.pc $(EMBTK_PKG_CONFIG_PATH)	\
	&& $(MAKE) pkgconfig_files_adapt

download_xtrans:
	$(call EMBTK_DOWNLOAD_PKG,XTRANS)

xtrans_clean:
	$(call EMBTK_CLEANUP_PKG,XTRANS)