New package: gprolog-1.4.4
This commit is contained in:
parent
c76809b689
commit
424394fe8a
1 changed files with 27 additions and 0 deletions
27
srcpkgs/gprolog/template
Normal file
27
srcpkgs/gprolog/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'gprolog'
|
||||
pkgname=gprolog
|
||||
version=1.4.4
|
||||
revision=1
|
||||
wrksrc=${pkgname}-${version}/src
|
||||
only_for_archs="i686 x86_64"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-install-dir=/usr/lib/gprolog
|
||||
--with-doc-dir=/usr/share/doc/gprolog
|
||||
--with-examples-dir=/usr/share/examples/gprolog"
|
||||
short_desc="GNU Prolog"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2,LGPL-3"
|
||||
homepage="http://www.gprolog.org/"
|
||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=18c0e9644b33afd4dd3cdf29f94c099ad820d65e0c99da5495b1ae43b4f2b18e
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
|
||||
${DESTDIR}/usr/share/doc/gprolog
|
||||
vlicense ${DESTDIR}/usr/lib/gprolog/COPYING LICENSE
|
||||
rm ${DESTDIR}/usr/lib/gprolog/COPYING
|
||||
cd ${DESTDIR}/usr/lib/gprolog/bin
|
||||
for f in *; do
|
||||
ln -sf ../lib/gprolog/bin/$f ${DESTDIR}/usr/bin/$f
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue