summaryrefslogtreecommitdiff
path: root/pkg/libjpeg-turbo/gen.lua
blob: f6673c8e85c28641452b398de0def50e38a7c8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cflags{'-I $dir'}

lib('libjpeg-turbo.a', [[
	jcapimin.c jcapistd.c jccoefct.c jccolor.c
	jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c
	jcomapi.c jcparam.c jcphuff.c jcprepct.c jcsample.c jctrans.c
	jdapimin.c jdapistd.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c
	jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c
	jdmerge.c jdphuff.c jdpostct.c jdsample.c jdtrans.c jerror.c
	jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c
	jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c
	jaricom.c jcarith.c jdarith.c jsimd_none.c
]])

pkg.hdrs = {
	copy('$outdir/include', '$srcdir', {'jmorecfg.h', 'jpeglib.h'}),
	copy('$outdir/include', '$dir', {'jconfig.h'}),
}

fetch 'git'