vp-build/templates/gcc/libobjc.template

20 lines
509 B
Plaintext
Raw Normal View History

# Template file for 'gcc-libobjc'.
#
short_desc="GCC Objective-C shared library support"
long_desc="${long_desc}
This package contains GCC Objective-C shared support library which is needed
to run Objective-C dynamically linked programs."
Add_dependency run glibc
Add_dependency run gcc-libgcc
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/lib/libobjc.so.* ${destdir}/usr/lib
}