void-packages/templates/gcc/libobjc-devel.template
Juan RP e0030bc0fe Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build
  or run time dependencies to packages. An optional third parameter
  can be used to specify other version than the one set in
  the depends file.
- Use a "depends" file in package directory to specify minimum
  required ABI/API version for a package, so that there's no need
  to set the version all the time in pkgs.
- Updated bash to 4.0.

--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
2009-02-24 07:13:11 +01:00

19 lines
531 B
Text

# Template file for 'gcc-libobjc-devel'.
#
short_desc="GCC Objective-C shared library support (development files)"
long_desc="${long_desc}
This package contains GCC Objective-C headers and static libs, to
build Objective-C programs."
Add_dependency run gcc-libobjc
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/lib/libobjc.*a ${destdir}/usr/lib
mv ${origdir}/usr/lib/libobjc.so ${destdir}/usr/lib
}