void-packages/srcpkgs/libgsm/libgsm-devel.template

19 lines
433 B
Text

# Template file for 'libgsm-devel'.
#
depends="glibc-devel libgsm"
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
vmkdir usr/lib
vinstall lib/libgsm.a 644 usr/lib
vmkdir usr/include/gsm
vcopy "inc/*" usr/include/gsm
rm -f ${DESTDIR}/usr/include/gsm/*.orig
cd ${DESTDIR}/usr/include && ln -s gsm/gsm.h
}