glib, irssi, pcre: converted to subpkgs.
--HG-- extra : convert_revision : c3e0384ca9fb987a7e1b5ce93d40855dfcfbaa0e
This commit is contained in:
parent
5a435dc28f
commit
1c83b76888
11 changed files with 108 additions and 6 deletions
25
templates/pcre/devel.template
Normal file
25
templates/pcre/devel.template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'pcre-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run pcre
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/bin
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mkdir -p ${destdir}/usr/share/man
|
||||
|
||||
mv ${origdir}/usr/bin/pcre-config ${destdir}/usr/bin
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/*.*a ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/*.so ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue