Select Git revision
-
* contrib/src/main.mak (dep_on): Filter out top-level packages from the result (as it used to be prior to commit 6fa37b57). (pprint): Display 'None' when there are no packages selected. * contrib/src/kashmir-dependency/rules.mak (.kashmir-dependency): Ensure installation directory exists before copying files. * contrib/src/asio/rules.mak: Do not add to PKGS. This prevent build this indirect dependency when its parent referrer was disabled. * contrib/src/kashmir-dependency/rules.mak: Likewise. * contrib/src/restbed/rules.mak: Likewise. Change-Id: I58e515c4e4e49220f0e82144b349c97ba86d6940 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
* contrib/src/main.mak (dep_on): Filter out top-level packages from the result (as it used to be prior to commit 6fa37b57). (pprint): Display 'None' when there are no packages selected. * contrib/src/kashmir-dependency/rules.mak (.kashmir-dependency): Ensure installation directory exists before copying files. * contrib/src/asio/rules.mak: Do not add to PKGS. This prevent build this indirect dependency when its parent referrer was disabled. * contrib/src/kashmir-dependency/rules.mak: Likewise. * contrib/src/restbed/rules.mak: Likewise. Change-Id: I58e515c4e4e49220f0e82144b349c97ba86d6940 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
rules.mak 1.50 KiB
#
# Copyright (C) 2016 Savoir-faire Linux Inc.
#
# Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
#
# 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 3 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
ASIO_VERSION := f5c570826d2ebf50eb38c44039181946a473148b
ASIO_URL := https://github.com/chriskohlhoff/asio/archive/$(ASIO_VERSION).tar.gz
# Pure dependency of restbed: do not add to PKGS.
$(TARBALLS)/asio-$(ASIO_VERSION).tar.gz:
$(call download,$(ASIO_URL))
asio: asio-$(ASIO_VERSION).tar.gz
$(UNPACK)
mv asio-$(ASIO_VERSION)/asio/* asio-$(ASIO_VERSION)/ && rm -rf asio-$(ASIO_VERSION)/asio
$(APPLY) $(SRC)/asio/revert_pthread_condattr_setclock.patch
$(APPLY) $(SRC)/asio/no_tests_examples.patch
$(MOVE)
.asio: asio .sum-asio
cd $< && ./autogen.sh
cd $< && $(HOSTVARS) ./configure --without-boost $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
.sum-asio: asio-$(ASIO_VERSION).tar.gz