Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- SHELL:=/bin/bash
-
- ubuntu2004:
- # check out revision that is master at the time of writing
- git clone https://github.com/erikzenker/inotify-cpp || true
- pushd inotify-cpp && \
- git checkout 1a4413637a08f6303526a2be140806f5abaaffd5 && \
- popd && \
- bash ../ubuntu2004.sh make impl
- make package-ubuntu2004
-
- ubuntu2204:
- # check out revision that is master at the time of writing
- git clone https://github.com/erikzenker/inotify-cpp || true
- pushd inotify-cpp && \
- git checkout 1a4413637a08f6303526a2be140806f5abaaffd5 && \
- popd && \
- bash ../ubuntu2204.sh make impl
- make package-ubuntu2204
-
- impl:
- dpkg -i boost/pkg/*.deb
- pushd inotify-cpp && \
- cmake -DCMAKE_INSTALL_PREFIX=$$PWD/../inotify-cpp_out -DBUILD_EXAMPLE=OFF -DBUILD_TEST=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DUSE_BOOST_FILESYSTEM=OFF -DBoost_USE_STATIC_LIBS=ON -DBOOST_ROOT="/opt/cppse/build/boost/" -DBoost_INCLUDE_DIR="/opt/cppse/build/boost/include" . && \
- make -j8 && \
- make install
-
- package-ubuntu2004:
- rm -rf out
- mkdir -p out/opt/cppse/build/inotify-cpp
- cp -prv inotify-cpp_out/* out/opt/cppse/build/inotify-cpp/
- rm -rf cppse_inotify-cpp_*_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:20.04 fpm -v 1.1 -s dir -t deb -n inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out
-
- package-ubuntu2204:
- rm -rf out
- mkdir -p out/opt/cppse/build/inotify-cpp
- cp -prv inotify-cpp_out/* out/opt/cppse/build/inotify-cpp/
- rm -rf cppse_inotify-cpp_*_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.04 fpm -v 1.1.1 -s dir -t deb -n inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out
-
- clean:
- sudo rm -rf inotify-cpp*
- sudo rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash
|