2011-06-05 16:48:30 +03:00
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := lingot
PKG_VERSION := 0.9.0
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://download.savannah.gnu.org/releases/lingot/
PKG_MD5SUM := 363612bd55d3dc204d23cd26e25ef1f5
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
d e f i n e P a c k a g e / l i n g o t
TITLE:= LINGOT Is Not a Guitar-Only Tuner
SECTION:= utilities
CATEGORY:= Utilities
URL:= http://www.nongnu.org/lingot/
DEPENDS:= +alsa-lib +gtk2 +libglade
e n d e f
d e f i n e P a c k a g e / l i n g o t / d e s c r i p t i o n
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.
e n d e f
CONFIGURE_ARGS += \
--enable-alsa \
--disable-jack
TARGET_CFLAGS += -Wl,-rpath-link= $( STAGING_DIR) /usr/lib $( ICONV_CFLAGS) $( INTL_CFLAGS)
d e f i n e P a c k a g e / l i n g o t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /usr/share/lingot/glade
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/lingot $( 1) /usr/bin/
$( INSTALL_DATA) $( PKG_BUILD_DIR) /src/glade/*.glade $( 1) /usr/share/lingot/glade/
$( CP) $( FILES_DIR) /lingot.conf $( 1) /usr/share/lingot/
e n d e f
d e f i n e P a c k a g e / l i n g o t / p o s t i n s t
#!/bin/sh
2011-06-23 22:40:46 +03:00
m k d i r - p $$ { I P K G _ I N S T R O O T } / r o o t / . l i n g o t & & c p $$ { I P K G _ I N S T R O O T } / u s r / s h a r e / l i n g o t / l i n g o t . c o n f $$ { I P K G _ I N S T R O O T } / r o o t / . l i n g o t / l i n g o t . c o n f
2011-06-05 16:48:30 +03:00
e n d e f
$( eval $ ( call BuildPackage ,lingot ) )