Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
This commit is contained in:
2
srcpkgs/tiff/depends
Normal file
2
srcpkgs/tiff/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=3.8.2"
|
||||
api_depends="${abi_depends}"
|
||||
27
srcpkgs/tiff/template
Normal file
27
srcpkgs/tiff/template
Normal file
@@ -0,0 +1,27 @@
|
||||
# Template build file for 'tiff'.
|
||||
pkgname=tiff
|
||||
version=3.9.1
|
||||
revision=1
|
||||
distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-cxx --without-x"
|
||||
short_desc="Library and tools for reading and writing TIFF data files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=3436d7331b1696c3ec776b0130a272f6593389d4f7d413bc80b11fb295d61e99
|
||||
long_desc="
|
||||
This is software provides support for the Tag Image Format (TIFF).
|
||||
Included is a library, libtiff, for reading and writing TIFF, a
|
||||
collection of tools for doing simple manipulations of TIFF images, and
|
||||
documentation on the library and tools. A random assortment of
|
||||
TIFF-related software contributed by others is also included.
|
||||
|
||||
The library, along with associated tool programs, should handle most of
|
||||
your needs for reading and writing files that follow the 5.0 or 6.0
|
||||
TIFF spec. There is also considerable support for some of the more
|
||||
esoteric portions of the 6.0 TIFF spec."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency full glibc
|
||||
Add_dependency full zlib
|
||||
Add_dependency full jpeg
|
||||
Add_dependency run libstdc++
|
||||
19
srcpkgs/tiff/tiff-devel.template
Normal file
19
srcpkgs/tiff/tiff-devel.template
Normal file
@@ -0,0 +1,19 @@
|
||||
# Template file for 'tiff-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run tiff
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
}
|
||||
Reference in New Issue
Block a user