]>
Commit | Line | Data |
---|---|---|
6095bda9 DM |
1 | RELEASE=3.0 |
2 | ||
3 | PACKAGE=libgtk3-webkit-perl | |
4 | PKGREL=1 | |
5 | ||
6 | ARCH=all | |
7 | ||
8 | OPKGNAME=Gtk3-WebKit-0.03 | |
9 | DEB = ${PACKAGE}_0.03-${PKGREL}_${ARCH}.deb | |
10 | ||
11 | ${DEB}: ${OPKGNAME}.tar.gz | |
12 | -rm -rf ${OPKGNAME} | |
13 | tar xzf ${OPKGNAME}.tar.gz | |
14 | cp -a debian ${OPKGNAME} | |
15 | # echo "Architecture: ${ARCH}" >> ${OPKGNAME}/debian/control | |
16 | cd ${OPKGNAME}; dpkg-buildpackage -rfakeroot -b -us -uc | |
17 | -rm -rf ${OPKGNAME} | |
18 | lintian ${DEB} | |
19 | ||
20 | ||
21 | .phony: upload | |
22 | upload: ${DEB} | |
23 | umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw | |
24 | mkdir -p /pve/${RELEASE}/extra | |
25 | rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb | |
26 | rm -f /pve/${RELEASE}/extra/Packages* | |
27 | cp ${DEB} /pve/${RELEASE}/extra | |
28 | cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz | |
29 | umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro | |
30 | ||
31 | .PHONY: dinstall | |
32 | dinstall: ${DEB} | |
33 | dpkg -i ${DEB} | |
34 | ||
35 | .phony: clean | |
36 | clean: | |
37 | rm -rf *~ debian/*~ ${OPKGNAME} ${PACKAGE}_* | |
38 |