Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:telephony-to-merge
bcunit
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package bcunit
#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # Add support for different Debian based distributions export VERSION_CODENAME = $(shell cat /etc/os-release | grep VERSION_CODENAME | awk -F= '{print $$2}') export VERSION_ID = $(shell cat /etc/os-release | grep VERSION_ID | awk -F= '{print $$2}') export PRETTY_NAME=$(shell cat /etc/*-release | egrep "PRETTY_NAME" | cut -d = -f 2) export pkgname=bcunit export _topdir=/usr/src/packages export _builddir=$(_topdir)/BUILD export _sourcedir=$(_topdir)/SOURCES export uploaddir=/usr/src/packages/SOURCES export srcdir=/usr/src/packages/SOURCES export pkgdir_head=/usr/src/packages/BUILD/debian #export pkgdir=$(pkgdir_head)/$(pkgname) export pkgdir=$(pkgdir_head)/tmp export buildroot=/usr/src/packages/BUILD/debian/tmp #export buildroot=/usr/src/packages/BUILD/debian/$(pkgname) ifeq ($(findstring Raspbian,$(PRETTY_NAME)),Raspbian) # Found export PLATFORM=Raspbian export BUILDDIR=obj-arm-linux-gnueabihf export LIBDIR=lib/arm-linux-gnueabihf else # Not found export PLATFORM=DebianOrUbuntu export BUILDDIR=obj-x86_64-linux-gnu export LIBDIR=lib/x86_64-linux-gnu endif # Set debhelper options DEB_BUILD_OPTIONS=nocheck %: dh $@ --buildsystem=cmake override_dh_auto_configure: cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_STATIC=OFF \ -DENABLE_DOC=ON override_dh_update_autotools_config: override_dh_autoreconf: override_dh_auto_build: cmake --build . override_dh_auto_install: echo "Different Debian based distros need different patches and adjustments." echo PRETTY_NAME=$(PRETTY_NAME) echo PLATFORM=$(PLATFORM) echo VERSION_CODENAME=$(VERSION_CODENAME) echo VERSION_ID=$(VERSION_ID) echo BUILDDIR=$(BUILDDIR) echo LIBDIR=$(LIBDIR) echo echo pwd=$(shell pwd) echo echo "Installs $(pkgname)" echo _topdir=$(_topdir) echo _builddir=$(_builddir) echo _sourcedir=$(_sourcedir) echo uploaddir=$(uploaddir) echo srcdir=$(srcdir) echo pkgdir_head=$(pkgdir_head) echo pkgdir=$(pkgdir) echo buildroot=$(buildroot) echo "----------------------------------------" make install DESTDIR=/usr/src/packages/BUILD/debian/tmp AM_UPDATE_INFO_DIR=no override_dh_auto_test: execute_after_dh_auto_install: echo "--- Start execute_after_dh_auto_install ---" echo "Different Debian based distros need different patches and adjustments." echo PRETTY_NAME=$(PRETTY_NAME) echo PLATFORM=$(PLATFORM) echo VERSION_CODENAME=$(VERSION_CODENAME) echo VERSION_ID=$(VERSION_ID) echo BUILDDIR=$(BUILDDIR) echo LIBDIR=$(LIBDIR) echo pkgdir=$(pkgdir) echo buildroot=$(buildroot) echo "----------------------------------------" echo echo pkgdir=${pkgdir} echo "--- Files that will be packaged ---" find $(buildroot) | sed "s|${pkgdir}||g" | sort echo "--- End files that will be packaged ---" echo "--- End execute_after_dh_auto_install ---"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor