Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

rules.mak

Blame
    • Maxim Cournoyer's avatar
      8e8481c2
      contrib: Fix installation of kashmir-dependency, other fixes. · 8e8481c2
      Maxim Cournoyer authored and Guillaume Roguez's avatar Guillaume Roguez committed
      
      * 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: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      8e8481c2
      History
      contrib: Fix installation of kashmir-dependency, other fixes.
      Maxim Cournoyer authored and Guillaume Roguez's avatar Guillaume Roguez committed
      
      * 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: default avatarGuillaume 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