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

21 lines
461 B
Text
Raw Normal View History

2011-10-26 22:26:34 +00:00
# Template file for 'libgsm-devel'.
#
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libgsm
2011-10-26 22:26:34 +00:00
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
2011-10-26 22:26:34 +00:00
}