2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $
9 include $(TOPDIR
)/rules.mk
13 PKG_REV
:=78fe48dffb923175bde9f0aabc3500a9264a57e0
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=git
://git.freesmartphone.org
/fso-gpsd.git
19 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_SOURCE_VERSION
:=$(PKG_REV
)
24 include $(INCLUDE_DIR
)/package.mk
27 -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include \
28 -I
$(STAGING_DIR
)/usr
/libiconv
/include
31 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
/ \
32 -L
$(STAGING_DIR
)/usr
/lib
/libiconv
/lib
/
34 define Package
/fso-gpsd
38 URL
:=http
://freesmartphone.org
39 DEPENDS
:=fso-frameworkd
42 define Build
/Configure
43 ( cd
$(PKG_BUILD_DIR
); NOCONFIGURE
=YES .
/autogen.sh
);
44 $(call Build
/Configure
/Default
)
48 DESTDIR
="$(PKG_INSTALL_DIR)" $(MAKE
) -C
$(PKG_BUILD_DIR
) install
51 define Package
/fso-gpsd
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/fso-gpsd
$(1)/usr
/sbin
/
54 $(INSTALL_BIN
) .
/files
/fso-gpsd.init
$(1)/etc
/init.d
/fso-gpsd
57 $(eval
$(call BuildPackage
,fso-gpsd
))