mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xspringies: fix license, vsed
This commit is contained in:
parent
e615e28f99
commit
6f4c3076a2
1 changed files with 3 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'xspringies'
|
# Template file for 'xspringies'
|
||||||
pkgname=xspringies
|
pkgname=xspringies
|
||||||
version=1.12
|
version=1.12
|
||||||
revision=4
|
revision=5
|
||||||
makedepends="libX11-devel"
|
makedepends="libX11-devel"
|
||||||
short_desc="Mass and spring simulation system"
|
short_desc="Mass and spring simulation system"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-1"
|
license="GPL-1.0-or-later"
|
||||||
homepage="https://web.archive.org/web/20170303034329/http://www.cs.rutgers.edu/~decarlo/software.html"
|
homepage="https://web.archive.org/web/20170303034329/http://www.cs.rutgers.edu/~decarlo/software.html"
|
||||||
distfiles="http://distcache.freebsd.org/ports-distfiles/${pkgname}-${version}.tar.Z>${pkgname}-${version}.tar.gz"
|
distfiles="http://distcache.freebsd.org/ports-distfiles/${pkgname}-${version}.tar.Z>${pkgname}-${version}.tar.gz"
|
||||||
checksum=08a3e9f60d1f1e15d38d62dd62baab18f6ad57ee139b0ef41452be66e4ad6a28
|
checksum=08a3e9f60d1f1e15d38d62dd62baab18f6ad57ee139b0ef41452be66e4ad6a28
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/^CFLAGS/s/=/+=/' Makefile.std
|
vsed -i '/^CFLAGS/s/=/+=/' Makefile.std
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} -f Makefile.std DDIR=/usr/ LIBS="$LDFLAGS -lm -lX11"
|
make ${makejobs} -f Makefile.std DDIR=/usr/ LIBS="$LDFLAGS -lm -lX11"
|
||||||
|
@ -22,5 +22,4 @@ do_install() {
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
cp -r lib ${DESTDIR}/usr/lib/xspringies
|
cp -r lib ${DESTDIR}/usr/lib/xspringies
|
||||||
vman xspringies.man xspringies.1
|
vman xspringies.man xspringies.1
|
||||||
vlicense COPYING LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue