ソースを参照

Add inotify-cpp package.

master
rayburgemeestre 3年前
コミット
54713fb470
2個のファイルの変更33行の追加0行の削除
  1. +2
    -0
      apt-publisher/Makefile
  2. +31
    -0
      inotify-cpp/Makefile

+ 2
- 0
apt-publisher/Makefile ファイルの表示

@@ -32,6 +32,7 @@ prepare-packages-ubuntu1804:
openexr/pkg/*.deb \
imagemagick/pkg/*.deb \
tvision/pkg/*.deb \
inotify-cpp/pkg/*.deb \
\
msxsaver/pkg/*.deb \
\
@@ -52,6 +53,7 @@ prepare-packages-ubuntu2004:
imagemagick/pkg/*.deb \
pngpp/pkg/*.deb \
tvision/pkg/*.deb \
inotify-cpp/pkg/*.deb \
msxsaver/pkg/*.deb \
packages/


+ 31
- 0
inotify-cpp/Makefile ファイルの表示

@@ -0,0 +1,31 @@
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

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

clean:
sudo rm -rf inotify-cpp*
sudo rm -rf out

shell:
FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash

読み込み中…
キャンセル
保存