Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:maxiotis
hdtv
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package hdtv
#!/usr/bin/make -f SHELL := /bin/bash # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) #export DEB_BUILD_MAINT_OPTIONS = hardening=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed name = $(shell dpkg-parsechangelog | sed -n -e 's/^Source: //p') buildroot = /usr/src/packages/BUILD/debian/$(name) _bindir = /usr/bin _docdir = /usr/share/doc _datadir = /usr/share _libdir = /usr/lib64 %: dh $@ override_dh_auto_configure: sed -i "s|args\.rebuildusr\ or\ args\.rebuildsys:|args\.rebuildusr\ is\ not\ None\ or\ args.rebuildsys\ is\ not\ None:|g" hdtv/app.py # for file in `grep -r \#\!\/usr\/bin\/env\ python ./ | grep -v debian | cut -f1 -d':'` ; do sed -i "s|#!/usr/bin/env python.*$|#!/usr/bin/python3|" $${file} ; done sed -i "1s|^|#!/usr/bin/python3\n|" tests/fitxml/test_cal.py sed -i "1s|^|#!/usr/bin/python3\n|" tests/fitxml/test_oldxml.py sed -i "1s|^|#!/usr/bin/python3\n|" tests/fitxml/test_switch.py sed -i "1s|^|#!/usr/bin/python3\n|" tests/fitxml/test_xml.py override_dh_auto_clean: override_dh_auto_test: override_dh_auto_build: override_dh_auto_install: install -d $(buildroot)$(_libdir)/$(name) cp -r `ls -d * | grep -v debian` $(buildroot)$(_libdir)/$(name)/ pwd ; pushd /opt/root/bin ; . /opt/root/bin/thisroot.sh ; popd ; pwd ; $(buildroot)$(_libdir)/$(name)/bin/$(name) --rebuild-sys install -d $(buildroot)$(_bindir) cd $(buildroot)$(_bindir) ; echo "#!/bin/sh" > $(name) ; echo "exec $(_libdir)/$(name)/bin/$(name) \"\$@\"" >> $(name) ; chmod 775 ./$(name) override_dh_shlibdeps: dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l/opt/root/lib
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