void-packages/srcpkgs/imlib2/imlib2-devel.template
Juan RP 24a987ef58 Bump revision for pkgs depending on jpeg (abi_depends bump).
--HG--
extra : convert_revision : b1b4ca5702dfb2318a7ec9270d51582dbfd85fa3
2010-01-17 15:09:04 +01:00

38 lines
1.1 KiB
Text

# Template file for 'imlib2-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config
Add_dependency run zlib-devel
Add_dependency run bzip2-devel
Add_dependency run freetype-devel
Add_dependency run jpeg-devel
Add_dependency run libpng-devel
Add_dependency run tiff-devel
Add_dependency run libid3tag-devel
Add_dependency run giflib-devel
Add_dependency run libX11-devel
Add_dependency run libXext-devel
Add_dependency run imlib2
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/imlib2/loaders
mkdir -p ${DESTDIR}/usr/lib/imlib2/filters
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/imlib2/loaders/*.a \
${DESTDIR}/usr/lib/imlib2/loaders
mv ${SRCPKGDESTDIR}/usr/lib/imlib2/filters/*.a \
${DESTDIR}/usr/lib/imlib2/filters
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}