tty-clock-git: fix fetch and cross-compile
This commit is contained in:
parent
e87612181d
commit
de6f52ee3f
@ -1,10 +1,9 @@
|
|||||||
# Template file for 'tty-clock-git'
|
# Template file for 'tty-clock-git'
|
||||||
pkgname=tty-clock-git
|
pkgname=tty-clock-git
|
||||||
version=20130821
|
version=20130821
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
hostmakedepends="pkg-config"
|
|
||||||
short_desc="Analog clock in ncurses"
|
short_desc="Analog clock in ncurses"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
license="GPL"
|
license="GPL"
|
||||||
@ -17,9 +16,10 @@ do_fetch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make
|
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALLPATH=/usr/bin/ DESTDIR=${DESTDIR} install
|
vbin tty-clock
|
||||||
|
vman tty-clock.1
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user