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:
27
srcpkgs/cmake/template
Normal file
27
srcpkgs/cmake/template
Normal file
@@ -0,0 +1,27 @@
|
||||
# Template file for 'cmake'
|
||||
pkgname=cmake
|
||||
version=2.6.2
|
||||
distfiles="http://www.cmake.org/files/v2.6/$pkgname-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script=./bootstrap
|
||||
configure_args="--prefix=$XBPS_DESTDIR/$pkgname-$version/usr"
|
||||
make_install_target="install"
|
||||
short_desc="Cross-platform, open-source build system"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=b3f5a9dfa97fb82cb1b7d78a62d949f93c8d4317af36674f337d27066fa6b7e9
|
||||
long_desc="
|
||||
CMake is a cross-platform, open-source build system. CMake is a family
|
||||
of tools designed to build, test and package software. CMake is used
|
||||
to control the software compilation process using simple platform and
|
||||
compiler independent configuration files. CMake generates native
|
||||
makefiles and workspaces that can be used in the compiler environment
|
||||
of your choice."
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full openssl
|
||||
|
||||
post_install()
|
||||
{
|
||||
mv -v ${DESTDIR}/usr/doc ${DESTDIR}/usr/share/doc
|
||||
mv -v ${DESTDIR}/usr/man ${DESTDIR}/usr/share/man
|
||||
}
|
||||
Reference in New Issue
Block a user