OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # See /LICENSE for more information. |
4 | |
5 | include $(TOPDIR)/rules.mk |
6 | |
7 | PKG_NAME:=lingot |
8 | PKG_VERSION:=0.9.0 |
9 | PKG_RELEASE:=1 |
10 | |
11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
12 | PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/lingot/ |
13 | PKG_MD5SUM:=363612bd55d3dc204d23cd26e25ef1f5 |
14 | |
15 | include $(INCLUDE_DIR)/package.mk |
16 | include $(INCLUDE_DIR)/nls.mk |
17 | |
18 | define Package/lingot |
19 | TITLE:=LINGOT Is Not a Guitar-Only Tuner |
20 | SECTION:=utilities |
21 | CATEGORY:=Utilities |
22 | URL:=http://www.nongnu.org/lingot/ |
23 | DEPENDS:=+alsa-lib +gtk2 +libglade |
24 | endef |
25 | |
26 | define Package/lingot/description |
27 | LINGOT is a musical instrument tuner. It's accurate, easy to use, and highly configurable. Originally conceived to tune electric guitars, it can now be used to tune other instruments. |
28 | endef |
29 | |
30 | CONFIGURE_ARGS += \ |
31 | --enable-alsa \ |
32 | --disable-jack |
33 | |
34 | TARGET_CFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(ICONV_CFLAGS) $(INTL_CFLAGS) |
35 | |
36 | define Package/lingot/install |
37 | $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/lingot/glade |
38 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/lingot $(1)/usr/bin/ |
39 | $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/glade/*.glade $(1)/usr/share/lingot/glade/ |
40 | $(CP) $(FILES_DIR)/lingot.conf $(1)/usr/share/lingot/ |
41 | endef |
42 | |
43 | define Package/lingot/postinst |
44 | #!/bin/sh |
45 | mkdir -p $${IPKG_INSTROOT}/root/.lingot && cp $${IPKG_INSTROOT}/usr/share/lingot/lingot.conf $${IPKG_INSTROOT}/root/.lingot/lingot.conf |
46 | endef |
47 | |
48 | $(eval $(call BuildPackage,lingot)) |
49 |