mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
build/debian/control
This commit is contained in:
parent
f08d54876b
commit
f83f102384
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.deb
|
||||
@ -1,6 +1,19 @@
|
||||
VERSION=0.0.57
|
||||
PKG=zjunet-${VERSION}
|
||||
mkdir -p ${PKG}
|
||||
tar cvzf ${PKG}.tar.gz ../../lib/
|
||||
cd ${PKG}
|
||||
dh_make -e zenoofzeng@gmail.com -f ../${PKG}.tar.gz
|
||||
#!/bin/sh
|
||||
|
||||
# bin
|
||||
mkdir -p ./debian/usr/bin
|
||||
cp -r ../../lib ./debian/usr
|
||||
echo '/usr/lib/zjunet/zjunet.sh "$@"' >> ./debian/usr/bin/zjunet
|
||||
chmod +x ./debian/usr/bin/zjunet
|
||||
|
||||
# contorl file
|
||||
mkdir -p debian/DEBIAN
|
||||
find ./debian -type d | xargs chmod 755
|
||||
cp control debian/DEBIAN
|
||||
|
||||
# dpkg-deb
|
||||
dpkg-deb --build debian
|
||||
mv debian.deb zjunet_0.1-1_all.deb
|
||||
|
||||
# remove debian/
|
||||
rm -rf ./debian
|
||||
|
||||
9
build/debian/control
Normal file
9
build/debian/control
Normal file
@ -0,0 +1,9 @@
|
||||
Package: zjunet
|
||||
Version: 0.1-1
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: xl2tpd (>= 1.3.6), curl, iconv
|
||||
Maintainer: Zeno Zeng <zenoofzeng@gmail.com>
|
||||
Description: Command Line Scripts for ZJU
|
||||
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||
Loading…
x
Reference in New Issue
Block a user