mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-24 02:19:53 +00:00
openslp-xcat: initial commit for debian packaging
Former-commit-id: 34c966305a982ede564bc3ff63e6982a3464127d
This commit is contained in:
parent
1286a288e2
commit
82e1de24f5
5
OpenSLP/debian/changelog
Normal file
5
OpenSLP/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
openslp-xcat (1.2.1-1) unstable; urgency=low
|
||||
|
||||
* Initial relase for xCAT
|
||||
|
||||
-- Arif Ali <aali@ocf.co.uk> Tue, 10 Apr 2012 12:38:00 +0100
|
1
OpenSLP/debian/conffiles
Normal file
1
OpenSLP/debian/conffiles
Normal file
@ -0,0 +1 @@
|
||||
/usr/local/etc/slp.conf
|
13
OpenSLP/debian/control
Normal file
13
OpenSLP/debian/control
Normal file
@ -0,0 +1,13 @@
|
||||
Source: openslp-xcat
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: Arif Ali <aali@ocf.co.uk>
|
||||
Build-Depends: debhelper (>= 7.0.50~)
|
||||
Standards-Version: 3.8.4
|
||||
|
||||
Package: openslp-xcat
|
||||
Section: utils
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Description: Open source implementation of Service Location Protocol V2
|
||||
Open source implementation of Service Location Protocol V2
|
67
OpenSLP/debian/rules
Executable file
67
OpenSLP/debian/rules
Executable file
@ -0,0 +1,67 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Comment this to turn off verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
dh_quilt_patch
|
||||
./configure --enable-shared=no
|
||||
$(MAKE)
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
#$(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
mkdir -p `pwd`/debian/tmp/usr/local/bin
|
||||
cp slptool/slptool `pwd`/debian/tmp/usr/local/bin/.
|
||||
mkdir -p `pwd`/debian/tmp/usr/local/etc
|
||||
cp etc/slp.conf `pwd`/debian/tmp/usr/local/etc/.
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep:
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_installdocs -i
|
||||
dh_installchangelogs -i
|
||||
dh_compress -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
dh_installinit -a
|
||||
dh_installdocs -a
|
||||
dh_installexamples -a
|
||||
# dh_installmenu
|
||||
# dh_installcron
|
||||
dh_installdebconf -a
|
||||
dh_installchangelogs -a
|
||||
dh_link -a
|
||||
dh_strip -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_makeshlibs -a
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -a
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
9
OpenSLP/make_deb.sh
Executable file
9
OpenSLP/make_deb.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget "http://downloads.sourceforge.net/project/openslp/OpenSLP/1.2.1/openslp-1.2.1.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fopenslp%2Ffiles%2FOpenSLP%2F1.2.1%2Fopenslp-1.2.1.tar.gz%2Fdownload&ts=1334057514&use_mirror=freefr" -O openslp-1.2.1.tar.gz
|
||||
tar xvfz openslp-1.2.1.tar.gz
|
||||
cd openslp-1.2.1
|
||||
cp -rL ../debian .
|
||||
dpkg-buildpackage
|
||||
cd -
|
||||
rm -rf openslp-1.2.1*
|
Loading…
Reference in New Issue
Block a user