libX11: converted to subpkgs.
--HG-- extra : convert_revision : e1c9e17625165863d3531f4f36e54ecf33e9eb77
This commit is contained in:
parent
0a53de67e0
commit
cb3d72e8ae
3 changed files with 23 additions and 0 deletions
1
templates/libX11-devel
Symbolic link
1
templates/libX11-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libX11
|
20
templates/libX11/devel.template
Normal file
20
templates/libX11/devel.template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'libX11-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libX11
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
rm -rf ${SRCPKGDESTDIR}/usr/share/man
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
# Template build file for 'libX11'.
|
||||
pkgname=libX11
|
||||
sourcepkg=$pkgname
|
||||
version=1.2
|
||||
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -13,6 +14,7 @@ long_desc="
|
|||
|
||||
This is from the modular X.org X11 project."
|
||||
|
||||
subpackages="devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build xproto
|
||||
Add_dependency build xextproto
|
||||
|
|
Loading…
Reference in a new issue