2014-07-08 20:06:57 +02:00
|
|
|
# Template file for 'thinglaunch-git'
|
|
|
|
pkgname=thinglaunch-git
|
2014-12-13 21:05:45 +01:00
|
|
|
version=20141213
|
2014-07-08 20:06:57 +02:00
|
|
|
revision=1
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-07-08 20:06:57 +02:00
|
|
|
makedepends="libX11-devel"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="A simple command and password prompter for X11"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://git.r-36.net/thinglaunch/"
|
|
|
|
provides="thinglaunch-${version}_${revision}"
|
|
|
|
replaces="thinglaunch>=0"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://git.r-36.net/thinglaunch"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i 's| -I/usr/include||g' config.mk
|
|
|
|
sed -i 's| -L/usr/lib||g' config.mk
|
2014-08-03 17:42:54 +02:00
|
|
|
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
|
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
|
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
2014-07-08 20:06:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/thinglaunch
|
|
|
|
vinstall LICENSE.orig 644 usr/share/licenses/thinglaunch
|
|
|
|
}
|