libzen: update do_install

This commit is contained in:
Georg Schabel 2015-05-06 05:47:52 +02:00
parent 0b2df10c6c
commit 83cccea4d0
1 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,4 @@
# Template build file for 'libzen'.
# vim: set ft=sh:
pkgname=libzen
version=0.4.31
@ -22,6 +21,23 @@ pre_configure() {
autoreconf -fi
}
do_install() {
make DESTDIR=${DESTDIR} install
install -dm 755 ${DESTDIR}/usr/include/ZenLib
install -m 644 ${wrksrc}/ZenLib/Source/ZenLib/*.h \
${DESTDIR}/usr/include/ZenLib
for i in HTTP_Client Format/Html Format/Http; do
install -dm0755 ${DESTDIR}/usr/include/ZenLib/$i
install -m0644 ${wrksrc}/ZenLib/Source/ZenLib/$i/*.h \
${DESTDIR}/usr/include/ZenLib/$i
done
install -dm 755 ${DESTDIR}/usr/lib/pkgconfig
install -m 644 libzen.pc ${DESTDIR}/usr/lib/pkgconfig
sed -i -e 's|Version: |Version: '$version'|g' \
${DESTDIR}/usr/lib/pkgconfig/libzen.pc
vlicense ${wrksrc}/ZenLib/License.txt
}
libzen-devel_package() {
depends="libzen>=${version}_${revision}"
short_desc+=" - development files"