]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - libjpeg/libjpeg.nm
Move all packages to root.
[ipfire-3.x.git] / libjpeg / libjpeg.nm
diff --git a/libjpeg/libjpeg.nm b/libjpeg/libjpeg.nm
new file mode 100644 (file)
index 0000000..ff129c4
--- /dev/null
@@ -0,0 +1,58 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libjpeg-turbo
+version    = 1.0.0
+release    = 1
+
+groups     = System/Libraries
+url        = http://sourceforge.net/projects/libjpeg-turbo
+license    = wxWidgets
+summary    = A MMX/SSE2 accelerated library for manipulating JPEG image files.
+
+description
+       The libjpeg-turbo-utils package contains simple client programs for \
+       accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,\
+       rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format. \
+       Djpeg decompresses a JPEG file into a regular image file. Jpegtran \
+       can perform various useful transformations on JPEG files. Rdjpgcom \
+       displays any text comments included in a JPEG file. Wrjpgcom inserts \
+       text comments into a JPEG file.
+end
+
+source_dl  =
+sources    = %{name}-%{version}.tar.gz
+
+build
+       requires
+               autoconf
+               automake
+               gcc-c++
+               libtool
+               nasm
+       end
+
+       configure_options += \
+               --enable-shared
+
+       prepare_cmds
+               autoreconf -vfi
+       end
+
+       install_cmds
+               # Remove non-versioned libjpegturbo.
+               rm -vf %{BUILDROOT}/usr/include/turbojpeg.h
+               rm -vf %{BUILDROOT}/usr/lib/libturbojpeg.so
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end