Merge branch 'master' of git.golem.linux.it:giomba/cnsparser
This commit is contained in:
commit
84394a0701
|
@ -0,0 +1,4 @@
|
|||
# deb package
|
||||
# cd $REPOSITORY/build-lib
|
||||
# checkinstall
|
||||
checkinstall prompts some details about the package interactively
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
|
||||
SLASHES=$(echo $0 | tr -d -c '/' | awk '{ print length($0) }')
|
||||
|
||||
if [ $SLASHES != 1 ]; then
|
||||
echo -e "run in my directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd ../..
|
||||
|
||||
mkdir -p build-lib
|
||||
cd build-lib
|
||||
|
||||
qmake ../lib
|
||||
|
||||
make -j $(nproc)
|
||||
|
||||
checkinstall --type debian \
|
||||
--install=no \
|
||||
--pkgname=cnsparser \
|
||||
--pkgversion=$(date +%Y.%m) \
|
||||
--pkgrelease=1 \
|
||||
--arch=x86_64 \
|
||||
--pkglicense=GPL \
|
||||
--maintainer=$(git config user.name)
|
||||
|
Loading…
Reference in New Issue